![]() |
TrinityCore
|
Inheritance diagram for go_mammoth_trap:Public Member Functions | |
| go_mammoth_trap (GameObject *go) | |
| void | Reset () override |
| void | SpellHit (WorldObject *caster, SpellInfo const *spellInfo) override |
| void | UpdateAI (uint32 diff) override |
Public Member Functions inherited from GameObjectAI | |
| GameObjectAI (GameObject *go) | |
| virtual | ~GameObjectAI () |
| virtual void | InitializeAI () |
| virtual void | DoAction (int32) |
| virtual void | SetGUID (ObjectGuid const &, int32) |
| virtual ObjectGuid | GetGUID (int32) const |
| virtual Optional< QuestGiverStatus > | GetDialogStatus (Player *) |
| virtual bool | OnGossipHello (Player *) |
| virtual bool | OnGossipSelect (Player *, uint32, uint32) |
| virtual bool | OnGossipSelectCode (Player *, uint32, uint32, char const *) |
| virtual void | OnQuestAccept (Player *, Quest const *) |
| virtual void | OnQuestReward (Player *, Quest const *, uint32) |
| virtual bool | OnReportUse (Player *) |
| virtual void | Destroyed (WorldObject *, uint32) |
| virtual void | Damaged (WorldObject *, uint32) |
| virtual uint32 | GetData (uint32) const |
| virtual void | SetData64 (uint32, uint64) |
| virtual uint64 | GetData64 (uint32) const |
| virtual void | SetData (uint32, uint32) |
| virtual void | OnGameEvent (bool, uint16) |
| virtual void | OnLootStateChanged (uint32, Unit *) |
| virtual void | OnStateChanged (uint32) |
| virtual void | EventInform (uint32) |
| virtual void | SpellHitTarget (WorldObject *, SpellInfo const *) |
| virtual void | JustSummoned (Creature *) |
| virtual void | SummonedCreatureDespawn (Creature *) |
| virtual void | SummonedCreatureDies (Creature *, Unit *) |
Private Attributes | |
| EventMap | _events |
| bool | _trapSmashed |
| ObjectGuid | _playerGUID |
| ObjectGuid | _mammothGUID |
Additional Inherited Members | |
Static Public Member Functions inherited from GameObjectAI | |
| static int32 | Permissible (GameObject const *go) |
Protected Attributes inherited from GameObjectAI | |
| GameObject *const | me |
Definition at line 190 of file zone_borean_tundra.cpp.
|
inline |
Definition at line 192 of file zone_borean_tundra.cpp.
|
inlineoverridevirtual |
Reimplemented from GameObjectAI.
Definition at line 194 of file zone_borean_tundra.cpp.
References _events, EVENT_FIND_MAMMOTH, GO_STATE_ACTIVE, GameObjectAI::me, EventMap::ScheduleEvent(), and GameObject::SetGoState().
Referenced by UpdateAI().
|
inlineoverridevirtual |
Reimplemented from GameObjectAI.
Definition at line 200 of file zone_borean_tundra.cpp.
References _events, _playerGUID, _trapSmashed, EVENT_FACE_PLAYER, GameObject::GetGoState(), Object::GetGUID(), GO_STATE_READY, SpellInfo::Id, GameObjectAI::me, EventMap::ScheduleEvent(), GameObject::SetGoState(), SPELL_SMASH_TRAP, and Object::ToPlayer().
|
inlineoverridevirtual |
Reimplemented from GameObjectAI.
Definition at line 218 of file zone_borean_tundra.cpp.
References _events, _mammothGUID, _playerGUID, _trapSmashed, EVENT_FACE_PLAYER, EVENT_FIND_MAMMOTH, EVENT_MAMMOTH_DESPAWN, EVENT_MAMMOTH_MOVE, EVENT_MAMMOTH_RESPAWN, EVENT_MAMMOTH_TEXT, EVENT_QUEST_CREDIT, EventMap::ExecuteEvent(), WorldObject::FindNearestCreature(), ObjectAccessor::GetCreature(), Position::GetOrientation(), ObjectAccessor::GetPlayer(), GameObjectAI::me, NPC_TRAPPED_MAMMOTH, Reset(), SAY_MAMMOTH, EventMap::ScheduleEvent(), UNIT_STAND_STATE_STAND, and EventMap::Update().
|
private |
Definition at line 278 of file zone_borean_tundra.cpp.
Referenced by Reset(), SpellHit(), and UpdateAI().
|
private |
Definition at line 281 of file zone_borean_tundra.cpp.
Referenced by UpdateAI().
|
private |
Definition at line 280 of file zone_borean_tundra.cpp.
Referenced by SpellHit(), and UpdateAI().
|
private |
Definition at line 279 of file zone_borean_tundra.cpp.
Referenced by SpellHit(), and UpdateAI().