![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
| go_firework_show (GameObject *go) | |
| void | InitShow () |
| void | StartShow (int minutesOffset) |
| void | StopShow () |
| int32 | SpawnNextFirework () |
| void | UpdateAI (uint32 diff) override |
Public Member Functions inherited from GameObjectAI | |
| GameObjectAI (GameObject *go) | |
| virtual | ~GameObjectAI () |
| virtual void | InitializeAI () |
| virtual void | Reset () |
| virtual void | DoAction (int32) |
| virtual void | SetGUID (ObjectGuid const &, int32) |
| virtual ObjectGuid | GetGUID (int32) const |
| virtual bool | GossipHello (Player *, bool) |
| virtual bool | GossipSelect (Player *, uint32, uint32) |
| virtual bool | GossipSelectCode (Player *, uint32, uint32, char const *) |
| virtual bool | QuestAccept (Player *, Quest const *) |
| virtual bool | QuestReward (Player *, Quest const *, uint32) |
| virtual uint32 | GetDialogStatus (Player *) |
| virtual void | Destroyed (Player *, uint32) |
| virtual uint32 | GetData (uint32) const |
| virtual void | SetData (uint32, uint32) |
| virtual void | OnGameEvent (bool, uint16) |
| virtual void | OnStateChanged (uint32, Unit *) |
| virtual void | EventInform (uint32) |
| virtual void | SpellHit (Unit *, SpellInfo const *) |
| virtual bool | CanBeSeen (Player const *) |
| virtual void | JustSummoned (Creature *) |
| virtual void | SummonedCreatureDespawn (Creature *) |
| virtual void | SummonedCreatureDies (Creature *, Unit *) |
| virtual void | SummonedCreatureEvade (Creature *) |
Private Attributes | |
| TaskScheduler | _scheduler |
| uint32_t | _curIdx |
| bool | _showRunning |
| FireworkShow const * | _show |
Additional Inherited Members | |
Static Public Member Functions inherited from GameObjectAI | |
| static int32 | Permissible (GameObject const *go) |
Protected Attributes inherited from GameObjectAI | |
| GameObject *const | me |
|
inline |
References _curIdx, _show, _showRunning, and InitShow().
|
inline |
References _scheduler, _show, _showRunning, FireworkShowStore, WorldLocation::GetMapId(), WorldObject::GetZoneId(), GameObjectAI::me, TaskContext::Repeat(), TaskScheduler::Schedule(), StartShow(), StopShow(), and Acore::Time::TimeBreakdown().
Referenced by go_firework_show().
|
inline |
References _curIdx, _show, _showRunning, WorldObject::AddObjectToRemoveList(), GameObject::DespawnOrUnsummon(), FireworkShow::entries, FireworkShowScheduleEntry::gameobjectId, GameObjectAI::me, FireworkShow::schedule, WorldObject::setActive(), FireworkShow::size, FireworkShowScheduleEntry::spawnIndex, FireworkShow::spawns, WorldObject::SummonGameObject(), and FireworkShowScheduleEntry::timestamp.
Referenced by StartShow().
|
inline |
References _curIdx, _scheduler, _show, _showRunning, FireworkShow::entries, IN_MILLISECONDS, GameObjectAI::me, MINUTE, TaskContext::Repeat(), TaskScheduler::Schedule(), FireworkShow::schedule, WorldObject::setActive(), FireworkShow::size, SpawnNextFirework(), FireworkShow::spawns, StopShow(), and FireworkShowScheduleEntry::timestamp.
Referenced by InitShow().
|
inline |
References _show, _showRunning, COUNT_REVELER_ID, WorldObject::GetCreatureListWithEntryInGrid(), WorldObject::GetGameObjectListWithEntryInGrid(), GO_TOASTING_GOBLET, GameObjectAI::me, FireworkShow::revelerId, and WorldObject::setActive().
Referenced by InitShow(), and StartShow().
|
inlineoverridevirtual |
Reimplemented from GameObjectAI.
References _scheduler, and TaskScheduler::Update().
|
private |
Referenced by go_firework_show(), SpawnNextFirework(), and StartShow().
|
private |
Referenced by InitShow(), StartShow(), and UpdateAI().
|
private |
Referenced by go_firework_show(), InitShow(), SpawnNextFirework(), StartShow(), and StopShow().
|
private |
Referenced by go_firework_show(), InitShow(), SpawnNextFirework(), StartShow(), and StopShow().