Bazaar developer reference

CvGlobals::setPlayerAndCityAILogSplit(bool)

Defined in
CvGlobals.cpp, line 2513
Class
CvGlobals
Hook name
CivHooks::CvGlobals_setPlayerAndCityAILogSplit

Hooks

static bool BeforeCvGlobals_setPlayerAndCityAILogSplit(CvGlobals* self, bool bEnable);static void AfterCvGlobals_setPlayerAndCityAILogSplit(CvGlobals* self, bool bEnable);static void ReplaceCvGlobals_setPlayerAndCityAILogSplit(void (*original)(CvGlobals*, bool), CvGlobals* self, bool bEnable);CivRegisterBefore<CivHooks::CvGlobals_setPlayerAndCityAILogSplit>(host, &BeforeCvGlobals_setPlayerAndCityAILogSplit);CivRegisterAfter<CivHooks::CvGlobals_setPlayerAndCityAILogSplit>(host, &AfterCvGlobals_setPlayerAndCityAILogSplit);CivRegisterReplace<CivHooks::CvGlobals_setPlayerAndCityAILogSplit>(host, &ReplaceCvGlobals_setPlayerAndCityAILogSplit);

Code

2513void CvGlobals::setPlayerAndCityAILogSplit(bool bEnable)2514{2515	m_bPlayerAndCityAILogSplit = bEnable;2516}

Called by