Hooks
static bool BeforeCvDllPreGame_setAutorun(CvDllPreGame* self, bool isAutoStart);static void AfterCvDllPreGame_setAutorun(CvDllPreGame* self, bool isAutoStart);static void ReplaceCvDllPreGame_setAutorun(void (*original)(CvDllPreGame*, bool), CvDllPreGame* self, bool isAutoStart);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setAutorun::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setAutorun);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setAutorun::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setAutorun);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setAutorun::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setAutorun);