Bazaar developer reference

CvEventLog::EventLogEntry::Clear()

Defined in
CvEventLog.cpp, line 44
Class
CvEventLog::EventLogEntry
Hook name
CivHooks::CvEventLog_EventLogEntry_Clear

Hooks

static bool BeforeCvEventLog_EventLogEntry_Clear(CvEventLog::EventLogEntry* self);static void AfterCvEventLog_EventLogEntry_Clear(CvEventLog::EventLogEntry* self);static void ReplaceCvEventLog_EventLogEntry_Clear(void (*original)(CvEventLog::EventLogEntry*), CvEventLog::EventLogEntry* self);CivRegisterBefore<CivHooks::CvEventLog_EventLogEntry_Clear>(host, &BeforeCvEventLog_EventLogEntry_Clear);CivRegisterAfter<CivHooks::CvEventLog_EventLogEntry_Clear>(host, &AfterCvEventLog_EventLogEntry_Clear);CivRegisterReplace<CivHooks::CvEventLog_EventLogEntry_Clear>(host, &ReplaceCvEventLog_EventLogEntry_Clear);

Code

44void CvEventLog::EventLogEntry::Clear()45{46	m_iTurn = -1;47	m_strMessage = "";48	m_eOtherPlayer = NO_PLAYER;49	m_iX = -1;50	m_iY = -1;51	m_iData1 = -1;52	m_iData2 = -1;53	m_iData3 = -1;54	m_iData4 = -1;55}

Calls

Called by