Bazaar developer reference

CvDllGameContext::GetPlayerAndCityAILogSplit()

Defined in
CvDllContext.cpp, line 795
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_GetPlayerAndCityAILogSplit

Hooks

static bool BeforeCvDllGameContext_GetPlayerAndCityAILogSplit(CvDllGameContext* self, bool& result);static void AfterCvDllGameContext_GetPlayerAndCityAILogSplit(CvDllGameContext* self, bool& result);static bool ReplaceCvDllGameContext_GetPlayerAndCityAILogSplit(bool (*original)(CvDllGameContext*), CvDllGameContext* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPlayerAndCityAILogSplit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetPlayerAndCityAILogSplit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPlayerAndCityAILogSplit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetPlayerAndCityAILogSplit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetPlayerAndCityAILogSplit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetPlayerAndCityAILogSplit);

Code

795bool CvDllGameContext::GetPlayerAndCityAILogSplit()796{797	return GC.getPlayerAndCityAILogSplit();798}

Calls