Bazaar developer reference

CvNotifications::IsNotificationEndOfTurnExpired(int)

Defined in
CvNotifications.cpp, line 2115
Class
CvNotifications
Hook name
CivHooks::CvNotifications_IsNotificationEndOfTurnExpired

Hooks

static bool BeforeCvNotifications_IsNotificationEndOfTurnExpired(CvNotifications* self, int iIndex, bool& result);static void AfterCvNotifications_IsNotificationEndOfTurnExpired(CvNotifications* self, int iIndex, bool& result);static bool ReplaceCvNotifications_IsNotificationEndOfTurnExpired(bool (*original)(CvNotifications*, int), CvNotifications* self, int iIndex);CivRegisterBefore<CivHooks::CvNotifications_IsNotificationEndOfTurnExpired>(host, &BeforeCvNotifications_IsNotificationEndOfTurnExpired);CivRegisterAfter<CivHooks::CvNotifications_IsNotificationEndOfTurnExpired>(host, &AfterCvNotifications_IsNotificationEndOfTurnExpired);CivRegisterReplace<CivHooks::CvNotifications_IsNotificationEndOfTurnExpired>(host, &ReplaceCvNotifications_IsNotificationEndOfTurnExpired);

Code

2115bool CvNotifications::IsNotificationEndOfTurnExpired(int iIndex)2116{2117	return IsNotificationTypeEndOfTurnExpired( m_aNotifications[iIndex].m_eNotificationType, iIndex );2118}

Calls

Called by