Bazaar developer reference

CvDllPlayer::GetLeaderTypeKey() const

Defined in
CvDllPlayer.cpp, line 233
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_GetLeaderTypeKey

Hooks

static bool BeforeCvDllPlayer_GetLeaderTypeKey(const CvDllPlayer* self, const char*& result);static void AfterCvDllPlayer_GetLeaderTypeKey(const CvDllPlayer* self, const char*& result);static const char* ReplaceCvDllPlayer_GetLeaderTypeKey(const char* (*original)(const CvDllPlayer*), const CvDllPlayer* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetLeaderTypeKey::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_GetLeaderTypeKey);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetLeaderTypeKey::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_GetLeaderTypeKey);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetLeaderTypeKey::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_GetLeaderTypeKey);

Code

233const char* CvDllPlayer::GetLeaderTypeKey() const234{235	return m_pPlayer->getLeaderTypeKey();236}

Calls