AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Common.h"
#include "ObjectGuid.h"
#include "SharedDefines.h"
#include <map>
#include <unordered_map>
Go to the source code of this file.
Classes | |
struct | GameEventFinishCondition |
struct | GameEventQuestToEventConditionNum |
struct | GameEventData |
struct | ModelEquip |
struct | NPCVendorEntry |
class | GameEventMgr |
Macros | |
#define | max_ge_check_delay DAY |
#define | sGameEventMgr GameEventMgr::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 | IsHolidayActive (HolidayIds id) |
bool | IsEventActive (uint16 event_id) |
#define max_ge_check_delay DAY |
#define sGameEventMgr GameEventMgr::instance() |
typedef std::map<uint32 , GameEventFinishCondition> GameEventConditionMap |
enum GameEventState |
bool IsEventActive | ( | uint16 | event_id | ) |
References sGameEventMgr.
Referenced by Player::_LoadBrewOfTheMonth(), Battleground::EndBattleground(), npc_innkeeper::OnGossipHello(), and npc_innkeeper::OnGossipSelect().
bool IsHolidayActive | ( | HolidayIds | id | ) |
References HOLIDAY_NONE, and sGameEventMgr.
Referenced by Player::CanUseItem(), BattlegroundMgr::IsBGWeekend(), lfg::LFGMgr::IsSeasonActive(), AchievementCriteriaData::Meets(), npc_midsummer_bonfire::npc_midsummer_bonfire(), spell_bonfires_blessing::OnApply(), MidsummerPlayerScript::OnUpdateZone(), BattlegroundAV::SetupBattleground(), go_brewfest_music::go_brewfest_musicAI::UpdateAI(), go_pirate_day_music::go_pirate_day_musicAI::UpdateAI(), go_darkmoon_faire_music::go_darkmoon_faire_musicAI::UpdateAI(), and go_midsummer_music::go_midsummer_musicAI::UpdateAI().