Bazaar developer reference

CvDllGameContext::GetBuilderAILogging()

Defined in
CvDllContext.cpp, line 785
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_GetBuilderAILogging

Hooks

static bool BeforeCvDllGameContext_GetBuilderAILogging(CvDllGameContext* self, bool& result);static void AfterCvDllGameContext_GetBuilderAILogging(CvDllGameContext* self, bool& result);static bool ReplaceCvDllGameContext_GetBuilderAILogging(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_GetBuilderAILogging::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetBuilderAILogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetBuilderAILogging::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetBuilderAILogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetBuilderAILogging::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetBuilderAILogging);

Code

785bool CvDllGameContext::GetBuilderAILogging()786{787	return GC.GetBuilderAILogging();788}

Calls