Hooks
static bool BeforeCvDllPreGame_SetGameOption_with_GameOptionTypes_int(CvDllPreGame* self, GameOptionTypes eOption, int iValue, bool& result);static void AfterCvDllPreGame_SetGameOption_with_GameOptionTypes_int(CvDllPreGame* self, GameOptionTypes eOption, int iValue, bool& result);static bool ReplaceCvDllPreGame_SetGameOption_with_GameOptionTypes_int(bool (*original)(CvDllPreGame*, GameOptionTypes, int), CvDllPreGame* self, GameOptionTypes eOption, int iValue);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_SetGameOption_with_GameOptionTypes_int::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_SetGameOption_with_GameOptionTypes_int);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_SetGameOption_with_GameOptionTypes_int::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_SetGameOption_with_GameOptionTypes_int);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_SetGameOption_with_GameOptionTypes_int::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_SetGameOption_with_GameOptionTypes_int);