Hooks
static bool BeforeCvDllPreGame_leaderName(CvDllPreGame* self, PlayerTypes p, CvString& result);static void AfterCvDllPreGame_leaderName(CvDllPreGame* self, PlayerTypes p, CvString& result);static CvString ReplaceCvDllPreGame_leaderName(CvString (*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_leaderName::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_leaderName);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_leaderName::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_leaderName);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_leaderName::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_leaderName);