Bazaar developer reference

CvDllGameContext::GetAILogging()

Defined in
CvDllContext.cpp, line 765
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_GetAILogging

Hooks

static bool BeforeCvDllGameContext_GetAILogging(CvDllGameContext* self, bool& result);static void AfterCvDllGameContext_GetAILogging(CvDllGameContext* self, bool& result);static bool ReplaceCvDllGameContext_GetAILogging(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_GetAILogging::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_GetAILogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetAILogging::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_GetAILogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_GetAILogging::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_GetAILogging);

Code

765bool CvDllGameContext::GetAILogging()766{767	return GC.getAILogging();768}

Calls