Bazaar developer reference

CvDllGameContext::SetBuilderAILogging(bool)

Defined in
CvDllContext.cpp, line 790
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_SetBuilderAILogging

Hooks

static bool BeforeCvDllGameContext_SetBuilderAILogging(CvDllGameContext* self, bool bEnable);static void AfterCvDllGameContext_SetBuilderAILogging(CvDllGameContext* self, bool bEnable);static void ReplaceCvDllGameContext_SetBuilderAILogging(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_SetBuilderAILogging::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_SetBuilderAILogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetBuilderAILogging::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_SetBuilderAILogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetBuilderAILogging::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_SetBuilderAILogging);

Code

790void CvDllGameContext::SetBuilderAILogging(bool bEnable)791{792	GC.SetBuilderAILogging(bEnable);793}

Calls