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