Hooks
static bool BeforeCvDllPreGame_setLeaderName(CvDllPreGame* self, PlayerTypes p, const CvString& n);static void AfterCvDllPreGame_setLeaderName(CvDllPreGame* self, PlayerTypes p, const CvString& n);static void ReplaceCvDllPreGame_setLeaderName(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_setLeaderName::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setLeaderName);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setLeaderName::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setLeaderName);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setLeaderName::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setLeaderName);