TrinityCore
GameEventMgr.h File Reference
#include "Common.h"
#include "SharedDefines.h"
#include "Define.h"
#include "ObjectGuid.h"
#include <list>
#include <map>
#include <set>
#include <unordered_map>
#include <vector>
+ Include dependency graph for GameEventMgr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GameEventFinishCondition
 
struct  GameEventQuestToEventConditionNum
 
struct  GameEventData
 
struct  ModelEquip
 
class  GameEventMgr
 

Macros

#define max_ge_check_delay   DAY
 
#define sGameEventMgr   GameEventMgr::instance()
 

Typedefs

typedef std::map< uint32, GameEventFinishConditionGameEventConditionMap
 

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

TC_GAME_API bool IsHolidayActive (HolidayIds id)
 
TC_GAME_API bool IsEventActive (uint16 eventId)
 

Macro Definition Documentation

◆ max_ge_check_delay

#define max_ge_check_delay   DAY

Definition at line 31 of file GameEventMgr.h.

◆ sGameEventMgr

#define sGameEventMgr   GameEventMgr::instance()

Definition at line 177 of file GameEventMgr.h.

Typedef Documentation

◆ GameEventConditionMap

Definition at line 58 of file GameEventMgr.h.

Enumeration Type Documentation

◆ GameEventState

Enumerator
GAMEEVENT_NORMAL 
GAMEEVENT_WORLD_INACTIVE 
GAMEEVENT_WORLD_CONDITIONS 
GAMEEVENT_WORLD_NEXTPHASE 
GAMEEVENT_WORLD_FINISHED 
GAMEEVENT_INTERNAL 

Definition at line 33 of file GameEventMgr.h.

Function Documentation

◆ IsEventActive()

TC_GAME_API bool IsEventActive ( uint16  eventId)

Definition at line 1778 of file GameEventMgr.cpp.

+ Here is the caller graph for this function:

◆ IsHolidayActive()

TC_GAME_API bool IsHolidayActive ( HolidayIds  id)

Definition at line 1763 of file GameEventMgr.cpp.

+ Here is the caller graph for this function: