Bazaar developer reference

CvDllGameContext::SetTutorialLogging(bool)

Defined in
CvDllContext.cpp, line 810
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_SetTutorialLogging

Hooks

static bool BeforeCvDllGameContext_SetTutorialLogging(CvDllGameContext* self, bool bEnable);static void AfterCvDllGameContext_SetTutorialLogging(CvDllGameContext* self, bool bEnable);static void ReplaceCvDllGameContext_SetTutorialLogging(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_SetTutorialLogging::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_SetTutorialLogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetTutorialLogging::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_SetTutorialLogging);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetTutorialLogging::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_SetTutorialLogging);

Code

810void CvDllGameContext::SetTutorialLogging(bool bEnable)811{812	GC.SetTutorialLogging(bEnable);813}

Calls