Bazaar developer reference

CvDllPreGame::leaderKeyAvailable(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 390
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_leaderKeyAvailable

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);

Code

390bool CvDllPreGame::leaderKeyAvailable(PlayerTypes p)391{392	return CvPreGame::leaderKeyAvailable(p);393}

Calls