![]() |
TrinityCore
|
Inheritance diagram for go_mammoth_trap: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 187 of file zone_borean_tundra.cpp.
|
inline |
Definition at line 189 of file zone_borean_tundra.cpp.
|
inlineoverridevirtual |
Reimplemented from GameObjectAI.
Definition at line 191 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 197 of file zone_borean_tundra.cpp.
References _events, _playerGUID, _trapSmashed, EVENT_FACE_PLAYER, GameObject::GetGoState(), BaseEntity::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 215 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 275 of file zone_borean_tundra.cpp.
Referenced by Reset(), SpellHit(), and UpdateAI().
|
private |
Definition at line 278 of file zone_borean_tundra.cpp.
Referenced by UpdateAI().
|
private |
Definition at line 277 of file zone_borean_tundra.cpp.
Referenced by SpellHit(), and UpdateAI().
|
private |
Definition at line 276 of file zone_borean_tundra.cpp.
Referenced by SpellHit(), and UpdateAI().