95 if (eventId >= events.size())
111 bool active = activeEvents.find(eventId) != activeEvents.end();
118 time_t nextTime = time(
NULL) + delay;
125 startTimeStr.c_str(), endTimeStr.c_str(), occurenceStr.c_str(), lengthStr.c_str(),
void SetSentErrorMessage(bool val)
Definition: Chat.h:138
std::string secsToTimeString(uint64 timeInSecs, bool shortText, bool hoursOnly)
Definition: Util.cpp:109
Definition: Language.h:612
arena_t NULL
Definition: jemalloc_internal.h:624
time_t end
Definition: GameEventMgr.h:61
uint32 length
Definition: GameEventMgr.h:64
Definition: Language.h:613
uint32_t uint32
Definition: Define.h:150
std::string TimeToTimestampStr(time_t t)
Definition: Util.cpp:195
uint32 occurence
Definition: GameEventMgr.h:63
#define sGameEventMgr
Definition: GameEventMgr.h:184
std::set< uint16 > ActiveEvents
Definition: GameEventMgr.h:106
Definition: Language.h:68
virtual char const * GetTrinityString(uint32 entry) const
Definition: Chat.cpp:67
std::vector< GameEventData > GameEventDataMap
Definition: GameEventMgr.h:107
void PSendSysMessage(const char *fmt, Args &&...args)
Definition: Chat.h:72
virtual void SendSysMessage(char const *str, bool escapeCharacters=false)
Definition: Chat.cpp:152
Definition: GameEventMgr.h:56
char * extractKeyFromLink(char *text, char const *linkType, char **something1=NULL)
Definition: Chat.cpp:641
std::string description
Definition: GameEventMgr.h:69
bool isValid() const
Definition: GameEventMgr.h:72
time_t start
Definition: GameEventMgr.h:60