![]() |
TrinityCore
|
Inheritance diagram for Scripts::EasternKingdoms::StormwindCity::conversation_quest_ancient_curses_accept:Public Types | |
| enum | AncientCursesConversationEvents { EVENT_ARKONARIN_START_PATH = 1 , EVENT_LYSANDER_START_PATH = 2 } |
| enum | AncientCursesConversationData { CONVO_LINE_ARKONARIN_START_PATH = 58685 , CONVO_LINE_LYSANDER_START_PATH = 60113 } |
Public Member Functions | |
| conversation_quest_ancient_curses_accept (Conversation *conversation) | |
| void | OnCreate (Unit *creator) override |
| void | OnStart () override |
| void | OnUpdate (uint32 diff) override |
Public Member Functions inherited from ConversationAI | |
| ConversationAI (Conversation *c, uint32 scriptId={}) noexcept | |
| ConversationAI (ConversationAI const &)=delete | |
| ConversationAI (ConversationAI &&)=delete | |
| ConversationAI & | operator= (ConversationAI const &)=delete |
| ConversationAI & | operator= (ConversationAI &&)=delete |
| virtual | ~ConversationAI () |
| virtual void | OnInitialize () |
| virtual void | OnLineStarted (uint32 lineId, Player *sender) |
| virtual void | OnRemove () |
| virtual void | DoAction (int32 param) |
| virtual uint32 | GetData (uint32 id) const |
| virtual void | SetData (uint32 id, uint32 value) |
| virtual void | SetGUID (ObjectGuid const &guid, int32 id) |
| virtual ObjectGuid | GetGUID (int32 id) const |
| uint32 | GetId () const |
Private Attributes | |
| EventMap | _events |
Additional Inherited Members | |
Protected Attributes inherited from ConversationAI | |
| Conversation *const | conversation |
Definition at line 458 of file zone_stormwind_city.cpp.
| Enumerator | |
|---|---|
| CONVO_LINE_ARKONARIN_START_PATH | |
| CONVO_LINE_LYSANDER_START_PATH | |
Definition at line 469 of file zone_stormwind_city.cpp.
| Enumerator | |
|---|---|
| EVENT_ARKONARIN_START_PATH | |
| EVENT_LYSANDER_START_PATH | |
Definition at line 463 of file zone_stormwind_city.cpp.
|
inline |
Definition at line 461 of file zone_stormwind_city.cpp.
|
inlineoverridevirtual |
Reimplemented from ConversationAI.
Definition at line 475 of file zone_stormwind_city.cpp.
References Conversation::AddActor(), ConversationAI::conversation, Scripts::EasternKingdoms::StormwindCity::CONVERSATION_ANCIENT_CURSES, GetClosestCreatureWithOptions(), BaseEntity::GetGUID(), Unit::GetMotionMaster(), Position::GetPosition(), Scripts::EasternKingdoms::StormwindCity::LysanderWalkToTheDoor, MotionMaster::MovePoint(), Scripts::EasternKingdoms::StormwindCity::NPC_ARKONARIN_STARSHADE, Scripts::EasternKingdoms::StormwindCity::NPC_LYSANDER_STARSHADE, Scripts::EasternKingdoms::StormwindCity::POINT_LYSANDER_STEP_TO_DOOR, Unit::RemoveNpcFlag(), Unit::SetWalk(), Conversation::Start(), WorldObject::SummonPersonalClone(), TEMPSUMMON_MANUAL_DESPAWN, Object::ToPlayer(), UNIT_NPC_FLAG_GOSSIP, and UNIT_NPC_FLAG_QUESTGIVER.
|
inlineoverridevirtual |
Reimplemented from ConversationAI.
Definition at line 497 of file zone_stormwind_city.cpp.
References _events, ConversationAI::conversation, CONVO_LINE_ARKONARIN_START_PATH, CONVO_LINE_LYSANDER_START_PATH, EVENT_ARKONARIN_START_PATH, EVENT_LYSANDER_START_PATH, Conversation::GetLineStartTime(), Conversation::GetPrivateObjectOwnerLocale(), and EventMap::ScheduleEvent().
|
inlineoverridevirtual |
Reimplemented from ConversationAI.
Definition at line 508 of file zone_stormwind_city.cpp.
References _events, ConversationAI::conversation, EVENT_ARKONARIN_START_PATH, EVENT_LYSANDER_START_PATH, EventMap::ExecuteEvent(), Conversation::GetActorCreature(), Unit::GetMotionMaster(), MotionMaster::MovePath(), Scripts::EasternKingdoms::StormwindCity::PATH_ARKONARIN_WALK_TO_MOUNT_UP, Scripts::EasternKingdoms::StormwindCity::PATH_LYSANDER_WALK_TO_MOUNT_UP, and EventMap::Update().
|
private |
Definition at line 537 of file zone_stormwind_city.cpp.
Referenced by OnStart(), and OnUpdate().