Hooks
static bool BeforeCvDllPreGame_setCivilizationKey(CvDllPreGame* self, PlayerTypes p, const CvString& d);static void AfterCvDllPreGame_setCivilizationKey(CvDllPreGame* self, PlayerTypes p, const CvString& d);static void ReplaceCvDllPreGame_setCivilizationKey(void (*original)(CvDllPreGame*, PlayerTypes, const CvString&), CvDllPreGame* self, PlayerTypes p, const CvString& d);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCivilizationKey::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setCivilizationKey);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCivilizationKey::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setCivilizationKey);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setCivilizationKey::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setCivilizationKey);