Bazaar developer reference

CvDllGameContext::SetAIPerfLogging(bool)

Defined in
CvDllContext.cpp, line 780
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_SetAIPerfLogging

Hooks

static bool BeforeCvDllGameContext_SetAIPerfLogging(CvDllGameContext* self, bool bEnable);static void AfterCvDllGameContext_SetAIPerfLogging(CvDllGameContext* self, bool bEnable);static void ReplaceCvDllGameContext_SetAIPerfLogging(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_SetAIPerfLogging::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_SetAIPerfLogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetAIPerfLogging::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_SetAIPerfLogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetAIPerfLogging::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_SetAIPerfLogging);

Code

780void CvDllGameContext::SetAIPerfLogging(bool bEnable)781{782	GC.setAIPerfLogging(bEnable);783}

Calls