Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
GameEventMgr.h File Reference
#include "Common.h"
#include "Define.h"
#include "Platform/Singleton.h"
#include "SharedDefines.h"
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  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, 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

bool IsEventActive (uint16 event_id)
bool IsHolidayActive (HolidayIds id)

Macro Definition Documentation

◆ max_ge_check_delay

#define max_ge_check_delay   DAY

Definition at line 14 of file GameEventMgr.h.

Referenced by GameEventMgr::NextCheck(), and GameEventMgr::Update().

◆ sGameEventMgr

Typedef Documentation

◆ GameEventConditionMap

Definition at line 41 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 16 of file GameEventMgr.h.

Function Documentation

◆ IsEventActive()

bool IsEventActive ( uint16 event_id)

Definition at line 1612 of file GameEventMgr.cpp.

References sGameEventMgr.

◆ IsHolidayActive()