Bazaar developer reference

CvDllPreGame::leaderNameKey(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 380
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_leaderNameKey

Hooks

static bool BeforeCvDllPreGame_leaderNameKey(CvDllPreGame* self, PlayerTypes p, CvString& result);static void AfterCvDllPreGame_leaderNameKey(CvDllPreGame* self, PlayerTypes p, CvString& result);static const CvString ReplaceCvDllPreGame_leaderNameKey(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_leaderNameKey::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_leaderNameKey);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_leaderNameKey::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_leaderNameKey);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_leaderNameKey::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_leaderNameKey);

Code

380const CvString CvDllPreGame::leaderNameKey(PlayerTypes p)381{382	return CvPreGame::leaderNameKey(p);383}

Calls