TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GameEventData Struct Reference

#include <GameEventMgr.h>

Public Member Functions

 GameEventData ()
 
bool isValid () const
 

Public Attributes

time_t start
 
time_t end
 
time_t nextstart
 
uint32 occurence
 
uint32 length
 
HolidayIds holiday_id
 
GameEventState state
 
GameEventConditionMap conditions
 
std::set< uint16prerequisite_events
 
std::string description
 
uint8 announce
 

Constructor & Destructor Documentation

GameEventData::GameEventData ( )
inline
59  announce(0) { }
HolidayIds holiday_id
Definition: GameEventMgr.h:65
Definition: SharedDefines.h:3716
uint8 announce
Definition: GameEventMgr.h:70
time_t end
Definition: GameEventMgr.h:61
uint32 length
Definition: GameEventMgr.h:64
time_t nextstart
Definition: GameEventMgr.h:62
Definition: GameEventMgr.h:31
GameEventState state
Definition: GameEventMgr.h:66
uint32 occurence
Definition: GameEventMgr.h:63
time_t start
Definition: GameEventMgr.h:60

Member Function Documentation

bool GameEventData::isValid ( ) const
inline
72 { return length > 0 || state > GAMEEVENT_NORMAL; }
uint32 length
Definition: GameEventMgr.h:64
Definition: GameEventMgr.h:31
GameEventState state
Definition: GameEventMgr.h:66

+ Here is the caller graph for this function:

Member Data Documentation

uint8 GameEventData::announce
GameEventConditionMap GameEventData::conditions
std::string GameEventData::description
time_t GameEventData::end
HolidayIds GameEventData::holiday_id
uint32 GameEventData::length
time_t GameEventData::nextstart
uint32 GameEventData::occurence
std::set<uint16 > GameEventData::prerequisite_events
time_t GameEventData::start
GameEventState GameEventData::state

The documentation for this struct was generated from the following file: