![]() |
TrinityCore
|
Inheritance diagram for go_bells::go_bellsAI:Public Member Functions | |
| go_bellsAI (GameObject *go) | |
| void | InitializeAI () override |
| void | OnGameEvent (bool start, uint16 eventId) override |
| void | UpdateAI (uint32 diff) override |
Public Member Functions inherited from GameObjectAI | |
| GameObjectAI (GameObject *go) | |
| virtual | ~GameObjectAI () |
| virtual void | Reset () |
| 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 | OnLootStateChanged (uint32, Unit *) |
| virtual void | OnStateChanged (uint32) |
| virtual void | EventInform (uint32) |
| virtual void | SpellHit (WorldObject *, SpellInfo const *) |
| virtual void | SpellHitTarget (WorldObject *, SpellInfo const *) |
| virtual void | JustSummoned (Creature *) |
| virtual void | SummonedCreatureDespawn (Creature *) |
| virtual void | SummonedCreatureDies (Creature *, Unit *) |
Private Attributes | |
| EventMap | _events |
| uint32 | _soundId |
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 1015 of file go_scripts.cpp.
|
inline |
Definition at line 1017 of file go_scripts.cpp.
|
inlineoverridevirtual |
Reimplemented from GameObjectAI.
Definition at line 1019 of file go_scripts.cpp.
References _soundId, ASHENVALE_ZONE, BELLTOLLALLIANCE, BELLTOLLDWARFGNOME, BELLTOLLHORDE, BELLTOLLKHARAZHAN, BELLTOLLNIGHTELF, BELLTOLLTRIBAL, DARNASSUS_ZONE, DUN_MOROGH_ZONE, DUSKWOOD_ZONE, Object::GetEntry(), WorldObject::GetZoneId(), GO_ALLIANCE_BELL, GO_HORDE_BELL, GO_KHARAZHAN_BELL, HILLSBRAD_FOOTHILLS_ZONE, IRONFORGE_ZONE, GameObjectAI::me, TELDRASSIL_ZONE, TIRISFAL_ZONE, and UNDERCITY_ZONE.
|
inlineoverridevirtual |
Reimplemented from GameObjectAI.
Definition at line 1067 of file go_scripts.cpp.
References _events, _soundId, BELLTOLLDWARFGNOME, EVENT_RING_BELL, GAME_EVENT_HOURLY_BELLS, GameTime::GetGameTime(), and EventMap::ScheduleEvent().
|
inlineoverridevirtual |
Reimplemented from GameObjectAI.
Definition at line 1091 of file go_scripts.cpp.
References _events, _soundId, EVENT_RING_BELL, EventMap::ExecuteEvent(), GameObjectAI::me, WorldObject::PlayDirectSound(), and EventMap::Update().
|
private |
Definition at line 1108 of file go_scripts.cpp.
Referenced by OnGameEvent(), and UpdateAI().
|
private |
Definition at line 1109 of file go_scripts.cpp.
Referenced by InitializeAI(), OnGameEvent(), and UpdateAI().