Bazaar developer reference

CvDllPlayer::GetNickName() const

Defined in
CvDllPlayer.cpp, line 129
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_GetNickName

Hooks

static bool BeforeCvDllPlayer_GetNickName(const CvDllPlayer* self, const char*& result);static void AfterCvDllPlayer_GetNickName(const CvDllPlayer* self, const char*& result);static const char* const ReplaceCvDllPlayer_GetNickName(const char* const (*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_GetNickName::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_GetNickName);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetNickName::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_GetNickName);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetNickName::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_GetNickName);

Code

129const char* const CvDllPlayer::GetNickName() const130{131	return m_pPlayer->getNickName();132}

Calls