Bazaar developer reference

CvDllGameContext::SetPlayerAndCityAILogSplit(bool)

Defined in
CvDllContext.cpp, line 800
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_SetPlayerAndCityAILogSplit

Hooks

static bool BeforeCvDllGameContext_SetPlayerAndCityAILogSplit(CvDllGameContext* self, bool bEnable);static void AfterCvDllGameContext_SetPlayerAndCityAILogSplit(CvDllGameContext* self, bool bEnable);static void ReplaceCvDllGameContext_SetPlayerAndCityAILogSplit(void (*original)(CvDllGameContext*, bool), CvDllGameContext* self, bool bEnable);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetPlayerAndCityAILogSplit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_SetPlayerAndCityAILogSplit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetPlayerAndCityAILogSplit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_SetPlayerAndCityAILogSplit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetPlayerAndCityAILogSplit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_SetPlayerAndCityAILogSplit);

Code

800void CvDllGameContext::SetPlayerAndCityAILogSplit(bool bEnable)801{802	GC.setPlayerAndCityAILogSplit(bEnable);803}

Calls