Bazaar developer reference

CvDllGameContext::SetOutOfSyncDebuggingEnabled(bool)

Defined in
CvDllContext.cpp, line 900
Class
CvDllGameContext
Hook name
CivHooks::CvDllGameContext_SetOutOfSyncDebuggingEnabled

Hooks

static bool BeforeCvDllGameContext_SetOutOfSyncDebuggingEnabled(CvDllGameContext* self, bool isEnabled);static void AfterCvDllGameContext_SetOutOfSyncDebuggingEnabled(CvDllGameContext* self, bool isEnabled);static void ReplaceCvDllGameContext_SetOutOfSyncDebuggingEnabled(void (*original)(CvDllGameContext*, bool), CvDllGameContext* self, bool isEnabled);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetOutOfSyncDebuggingEnabled::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameContext_SetOutOfSyncDebuggingEnabled);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetOutOfSyncDebuggingEnabled::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameContext_SetOutOfSyncDebuggingEnabled);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameContext_SetOutOfSyncDebuggingEnabled::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameContext_SetOutOfSyncDebuggingEnabled);

Code

900void CvDllGameContext::SetOutOfSyncDebuggingEnabled(bool isEnabled)901{902	GC.setOutOfSyncDebuggingEnabled(isEnabled);903}

Calls