Bazaar developer reference

CvDllPreGame::leaderKey(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 385
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_leaderKey

Hooks

static bool BeforeCvDllPreGame_leaderKey(CvDllPreGame* self, PlayerTypes p, CvString& result);static void AfterCvDllPreGame_leaderKey(CvDllPreGame* self, PlayerTypes p, CvString& result);static const CvString ReplaceCvDllPreGame_leaderKey(const 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_leaderKey::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_leaderKey);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_leaderKey::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_leaderKey);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_leaderKey::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_leaderKey);

Code

385const CvString CvDllPreGame::leaderKey(PlayerTypes p)386{387	return CvPreGame::leaderKey(p);388}

Calls