Bazaar developer reference

CvMinorCivAI::SetDisableNotifications(bool)

Defined in
CvMinorCivAI.cpp, line 11042
Class
CvMinorCivAI
Hook name
CivHooks::CvMinorCivAI_SetDisableNotifications

Hooks

static bool BeforeCvMinorCivAI_SetDisableNotifications(CvMinorCivAI* self, bool bDisableNotifications);static void AfterCvMinorCivAI_SetDisableNotifications(CvMinorCivAI* self, bool bDisableNotifications);static void ReplaceCvMinorCivAI_SetDisableNotifications(void (*original)(CvMinorCivAI*, bool), CvMinorCivAI* self, bool bDisableNotifications);CivRegisterBefore<CivHooks::CvMinorCivAI_SetDisableNotifications>(host, &BeforeCvMinorCivAI_SetDisableNotifications);CivRegisterAfter<CivHooks::CvMinorCivAI_SetDisableNotifications>(host, &AfterCvMinorCivAI_SetDisableNotifications);CivRegisterReplace<CivHooks::CvMinorCivAI_SetDisableNotifications>(host, &ReplaceCvMinorCivAI_SetDisableNotifications);

Code

11041/// Disable notifications for minor civs for now11042void CvMinorCivAI::SetDisableNotifications(bool bDisableNotifications)11043{11044	if (m_bDisableNotifications != bDisableNotifications)11045	{11046		m_bDisableNotifications = bDisableNotifications;11047	}11048}

Called by