![]() |
TrinityCore
|
#include "GameEventMgr.h"#include "BattlegroundMgr.h"#include "CreatureAI.h"#include "DBCStores.h"#include "DatabaseEnv.h"#include "GameObjectAI.h"#include "GameTime.h"#include "Language.h"#include "Log.h"#include "MapManager.h"#include "ObjectMgr.h"#include "PoolMgr.h"#include "Player.h"#include "World.h"#include "WorldStatePackets.h"
Include dependency graph for GameEventMgr.cpp:Go to the source code of this file.
Classes | |
| class | GameEventAIHookWorker |
Functions | |
| bool | IsHolidayActive (HolidayIds id) |
| bool | IsEventActive (uint16 eventId) |
| bool IsEventActive | ( | uint16 | eventId | ) |
Definition at line 1851 of file GameEventMgr.cpp.
References sGameEventMgr.
Referenced by AchievementCriteriaData::Meets(), and go_cheer_speaker::go_cheer_speakerAI::UpdateAI().
| bool IsHolidayActive | ( | HolidayIds | id | ) |
Definition at line 1836 of file GameEventMgr.cpp.
References HOLIDAY_NONE, and sGameEventMgr.
Referenced by Player::CanUseItem(), BattlegroundMgr::IsBGWeekend(), lfg::LFGMgr::IsSeasonActive(), AchievementCriteriaData::Meets(), npc_innkeeper::npc_innkeeperAI::OnGossipHello(), npc_innkeeper::npc_innkeeperAI::OnGossipSelect(), npc_brewfest_reveler::npc_brewfest_revelerAI::ReceiveEmote(), npc_brewfest_reveler_2::ReceiveEmote(), go_cheer_speaker::go_cheer_speakerAI::UpdateAI(), go_brewfest_music::go_brewfest_musicAI::UpdateAI(), go_midsummer_music::go_midsummer_musicAI::UpdateAI(), go_darkmoon_faire_music::go_darkmoon_faire_musicAI::UpdateAI(), and go_pirate_day_music::go_pirate_day_musicAI::UpdateAI().