Hooks
static bool BeforeCvDllPreGame_civilization(CvDllPreGame* self, PlayerTypes p, CivilizationTypes& result);static void AfterCvDllPreGame_civilization(CvDllPreGame* self, PlayerTypes p, CivilizationTypes& result);static CivilizationTypes ReplaceCvDllPreGame_civilization(CivilizationTypes (*original)(CvDllPreGame*, PlayerTypes), CvDllPreGame* self, PlayerTypes p);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilization::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_civilization);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilization::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_civilization);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_civilization::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_civilization);