OregonCore  revision be9e804-git
Your Favourite TBC server
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
 
GameEventState state
 
std::map< uint32, GameEventFinishConditionconditions
 
std::set< uint16prerequisite_events
 
std::string description
 

Detailed Description

Definition at line 51 of file GameEventMgr.h.

Constructor & Destructor Documentation

GameEventData::GameEventData ( )
inline

Definition at line 53 of file GameEventMgr.h.

53 : start(1), end(0), nextstart(0), occurence(0), length(0), state(GAMEEVENT_NORMAL) {}
time_t nextstart
Definition: GameEventMgr.h:56
GameEventState state
Definition: GameEventMgr.h:59
uint32 occurence
Definition: GameEventMgr.h:57

Member Function Documentation

bool GameEventData::isValid ( ) const
inline

Member Data Documentation

std::map<uint32 , GameEventFinishCondition> GameEventData::conditions

Definition at line 60 of file GameEventMgr.h.

time_t GameEventData::end

Definition at line 55 of file GameEventMgr.h.

Referenced by ChatHandler::HandleEventInfoCommand(), and GameEventMgr::LoadFromDB().

uint32 GameEventData::length

Definition at line 58 of file GameEventMgr.h.

Referenced by ChatHandler::HandleEventInfoCommand(), and GameEventMgr::LoadFromDB().

time_t GameEventData::nextstart

Definition at line 56 of file GameEventMgr.h.

Referenced by GameEventMgr::LoadFromDB().

uint32 GameEventData::occurence

Definition at line 57 of file GameEventMgr.h.

Referenced by ChatHandler::HandleEventInfoCommand(), and GameEventMgr::LoadFromDB().

std::set<uint16 > GameEventData::prerequisite_events

Definition at line 61 of file GameEventMgr.h.

time_t GameEventData::start

Definition at line 54 of file GameEventMgr.h.

Referenced by ChatHandler::HandleEventInfoCommand(), and GameEventMgr::LoadFromDB().

GameEventState GameEventData::state

Definition at line 59 of file GameEventMgr.h.

Referenced by GameEventMgr::LoadFromDB().


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