Hooks
static bool BeforeCvDllPreGame_leaderKeyAvailable(CvDllPreGame* self, PlayerTypes p, bool& result);static void AfterCvDllPreGame_leaderKeyAvailable(CvDllPreGame* self, PlayerTypes p, bool& result);static bool ReplaceCvDllPreGame_leaderKeyAvailable(bool (*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_leaderKeyAvailable::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_leaderKeyAvailable);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_leaderKeyAvailable::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_leaderKeyAvailable);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_leaderKeyAvailable::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_leaderKeyAvailable);