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