Hooks
static bool BeforeCvDllPreGame_gameMode(CvDllPreGame* self, GameMode& result);static void AfterCvDllPreGame_gameMode(CvDllPreGame* self, GameMode& result);static GameMode ReplaceCvDllPreGame_gameMode(GameMode (*original)(CvDllPreGame*), CvDllPreGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_gameMode::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_gameMode);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_gameMode::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_gameMode);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_gameMode::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_gameMode);