|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Go to the source code of this file.
Classes | |
| struct | GameEventData |
| struct | GameEventFinishCondition |
| class | GameEventMgr |
| struct | GameEventQuestToEventConditionNum |
| struct | ModelEquip |
| struct | NPCVendorEntry |
Macros | |
| #define | max_ge_check_delay DAY |
| #define | sGameEventMgr Skyfire::Singleton<GameEventMgr, Skyfire::NullMutex>::instance() |
Typedefs | |
| typedef std::map< uint32, GameEventFinishCondition > | GameEventConditionMap |
Enumerations | |
| enum | GameEventState { GAMEEVENT_NORMAL = 0 , GAMEEVENT_WORLD_INACTIVE = 1 , GAMEEVENT_WORLD_CONDITIONS = 2 , GAMEEVENT_WORLD_NEXTPHASE = 3 , GAMEEVENT_WORLD_FINISHED = 4 , GAMEEVENT_INTERNAL = 5 } |
Functions | |
| bool | IsEventActive (uint16 event_id) |
| bool | IsHolidayActive (HolidayIds id) |
| #define max_ge_check_delay DAY |
Definition at line 14 of file GameEventMgr.h.
Referenced by GameEventMgr::NextCheck(), and GameEventMgr::Update().
| #define sGameEventMgr Skyfire::Singleton<GameEventMgr, Skyfire::NullMutex>::instance() |
Definition at line 170 of file GameEventMgr.h.
Referenced by Player::_LoadItem(), World::ForceGameEventUpdate(), event_commandscript::HandleEventActiveListCommand(), event_commandscript::HandleEventInfoCommand(), event_commandscript::HandleEventStartCommand(), event_commandscript::HandleEventStopCommand(), gobject_commandscript::HandleGameObjectTargetCommand(), lookup_commandscript::HandleLookupEventCommand(), ConditionMgr::isConditionTypeValid(), IsEventActive(), SmartAIMgr::IsEventValid(), IsHolidayActive(), Condition::Meets(), SmartScript::ProcessAction(), Player::SatisfyQuestSeasonal(), Player::SendQuestReward(), World::SetInitialWorldSettings(), Player::SetSeasonalQuestStatus(), World::Update(), and Creature::UpdateEntry().
| typedef std::map<uint32 , GameEventFinishCondition> GameEventConditionMap |
Definition at line 41 of file GameEventMgr.h.
| enum GameEventState |
| Enumerator | |
|---|---|
| GAMEEVENT_NORMAL | |
| GAMEEVENT_WORLD_INACTIVE | |
| GAMEEVENT_WORLD_CONDITIONS | |
| GAMEEVENT_WORLD_NEXTPHASE | |
| GAMEEVENT_WORLD_FINISHED | |
| GAMEEVENT_INTERNAL | |
Definition at line 16 of file GameEventMgr.h.
| bool IsEventActive | ( | uint16 | event_id | ) |
Definition at line 1612 of file GameEventMgr.cpp.
References sGameEventMgr.
| bool IsHolidayActive | ( | HolidayIds | id | ) |
Definition at line 1597 of file GameEventMgr.cpp.
References HOLIDAY_NONE, and sGameEventMgr.
Referenced by Player::CanUseItem(), BattlegroundMgr::IsBGWeekend(), lfg::LFGMgr::IsSeasonActive(), AchievementCriteriaData::Meets(), npc_innkeeper::OnGossipHello(), npc_innkeeper::OnGossipSelect(), and npc_brewfest_reveler::npc_brewfest_revelerAI::ReceiveEmote().