Bazaar developer reference

CvEventLog::Uninit()

Defined in
CvEventLog.cpp, line 85
Class
CvEventLog
Hook name
CivHooks::CvEventLog_Uninit

Hooks

static bool BeforeCvEventLog_Uninit(CvEventLog* self);static void AfterCvEventLog_Uninit(CvEventLog* self);static void ReplaceCvEventLog_Uninit(void (*original)(CvEventLog*), CvEventLog* self);CivRegisterBefore<CivHooks::CvEventLog_Uninit>(host, &BeforeCvEventLog_Uninit);CivRegisterAfter<CivHooks::CvEventLog_Uninit>(host, &AfterCvEventLog_Uninit);CivRegisterReplace<CivHooks::CvEventLog_Uninit>(host, &ReplaceCvEventLog_Uninit);

Code

84/// Uninit85void CvEventLog::Uninit(void)86{87	m_ePlayer = NO_PLAYER;88	m_iCurrentLookupIndex = 0;89	m_aEvents.clear();9091	m_iEventsBeginIndex = -1;92	m_iEventsEndIndex = -1;93}

Calls

Called by