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);