Bazaar developer reference

CvNotifications::Uninit()

Defined in
CvNotifications.cpp, line 263
Class
CvNotifications
Hook name
CivHooks::CvNotifications_Uninit

Hooks

static bool BeforeCvNotifications_Uninit(CvNotifications* self);static void AfterCvNotifications_Uninit(CvNotifications* self);static void ReplaceCvNotifications_Uninit(void (*original)(CvNotifications*), CvNotifications* self);CivRegisterBefore<CivHooks::CvNotifications_Uninit>(host, &BeforeCvNotifications_Uninit);CivRegisterAfter<CivHooks::CvNotifications_Uninit>(host, &AfterCvNotifications_Uninit);CivRegisterReplace<CivHooks::CvNotifications_Uninit>(host, &ReplaceCvNotifications_Uninit);

Code

262/// Uninit263void CvNotifications::Uninit(void)264{265	m_ePlayer = NO_PLAYER;266	m_iCurrentLookupIndex = 0;267	m_aNotifications.clear();268269	m_iNotificationsBeginIndex = -1;270	m_iNotificationsEndIndex = -1;271}

Calls

Called by