![]() |
TrinityCore
|
Inheritance diagram for go_cheer_speaker::go_cheer_speakerAI:Static Public Member Functions | |
| static uint32 | CheerPicker () |
| static uint32 | FireworksPicker () |
| static uint32 | FireworksBIGOnlyPicker () |
Static Public Member Functions inherited from GameObjectAI | |
| static int32 | Permissible (GameObject const *go) |
Private Attributes | |
| EventMap | _events |
| bool | _started |
| bool | _big |
Additional Inherited Members | |
Protected Attributes inherited from GameObjectAI | |
| GameObject *const | me |
Definition at line 728 of file fireworks_show.cpp.
|
inline |
Definition at line 730 of file fireworks_show.cpp.
|
inlinestatic |
Definition at line 736 of file fireworks_show.cpp.
References Trinity::Containers::SelectRandomContainerElement(), SOUND_CHEER_1, SOUND_CHEER_2, SOUND_CHEER_3, and SOUND_CHEER_4.
Referenced by UpdateAI().
|
inlinestatic |
Definition at line 779 of file fireworks_show.cpp.
References FIREWORK_SHOW_TYPE_1_BLUE_BIG, FIREWORK_SHOW_TYPE_1_GREEN_BIG, FIREWORK_SHOW_TYPE_1_PURPLE_BIG, FIREWORK_SHOW_TYPE_1_RED_BIG, FIREWORK_SHOW_TYPE_1_WHITE_BIG, FIREWORK_SHOW_TYPE_1_YELLOW_BIG, FIREWORK_SHOW_TYPE_2_BLUE_BIG, FIREWORK_SHOW_TYPE_2_GREEN_BIG, FIREWORK_SHOW_TYPE_2_PURPLE_BIG, FIREWORK_SHOW_TYPE_2_RED_BIG, FIREWORK_SHOW_TYPE_2_WHITE_BIG, FIREWORK_SHOW_TYPE_2_YELLOW_BIG, and Trinity::Containers::SelectRandomContainerElement().
Referenced by UpdateAI().
|
inlinestatic |
Definition at line 748 of file fireworks_show.cpp.
References FIREWORK_SHOW_TYPE_1_BLUE, FIREWORK_SHOW_TYPE_1_BLUE_BIG, FIREWORK_SHOW_TYPE_1_GREEN, FIREWORK_SHOW_TYPE_1_GREEN_BIG, FIREWORK_SHOW_TYPE_1_PURPLE_BIG, FIREWORK_SHOW_TYPE_1_RED, FIREWORK_SHOW_TYPE_1_RED_BIG, FIREWORK_SHOW_TYPE_1_WHITE, FIREWORK_SHOW_TYPE_1_WHITE_BIG, FIREWORK_SHOW_TYPE_1_YELLOW, FIREWORK_SHOW_TYPE_1_YELLOW_BIG, FIREWORK_SHOW_TYPE_2_BLUE, FIREWORK_SHOW_TYPE_2_BLUE_BIG, FIREWORK_SHOW_TYPE_2_GREEN, FIREWORK_SHOW_TYPE_2_GREEN_BIG, FIREWORK_SHOW_TYPE_2_PURPLE, FIREWORK_SHOW_TYPE_2_PURPLE_BIG, FIREWORK_SHOW_TYPE_2_RED, FIREWORK_SHOW_TYPE_2_RED_BIG, FIREWORK_SHOW_TYPE_2_WHITE, FIREWORK_SHOW_TYPE_2_WHITE_BIG, FIREWORK_SHOW_TYPE_2_YELLOW, FIREWORK_SHOW_TYPE_2_YELLOW_BIG, and Trinity::Containers::SelectRandomContainerElement().
Referenced by UpdateAI().
|
inlineoverridevirtual |
Reimplemented from GameObjectAI.
Definition at line 799 of file fireworks_show.cpp.
References _big, _events, _started, EventMap::CancelEvent(), CheerPicker(), EVENT_CHEER, EVENT_FIRE, EventMap::ExecuteEvent(), FireworksBIGOnlyPicker(), FireworksPicker(), frand(), GAME_EVENT_NEW_YEAR, GameTime::GetGameTime(), WorldObject::GetZoneId(), HOLIDAY_FIREWORKS_SPECTACULAR, IsEventActive(), IsHolidayActive(), Trinity::Containers::MapGetValuePtr(), GameObjectAI::me, WorldObject::PlayDistanceSound(), PositionsByZoneMap, EventMap::ScheduleEvent(), Trinity::Containers::SelectRandomContainerElement(), WorldObject::SummonGameObject(), and EventMap::Update().
|
private |
Definition at line 895 of file fireworks_show.cpp.
Referenced by go_cheer_speakerAI(), and UpdateAI().
|
private |
Definition at line 893 of file fireworks_show.cpp.
Referenced by UpdateAI().
|
private |
Definition at line 894 of file fireworks_show.cpp.
Referenced by go_cheer_speakerAI(), and UpdateAI().