Bazaar developer reference

CvDllPlayer::GetHandicapType() const

Defined in
CvDllPlayer.cpp, line 218
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_GetHandicapType

Hooks

static bool BeforeCvDllPlayer_GetHandicapType(const CvDllPlayer* self, HandicapTypes& result);static void AfterCvDllPlayer_GetHandicapType(const CvDllPlayer* self, HandicapTypes& result);static HandicapTypes ReplaceCvDllPlayer_GetHandicapType(HandicapTypes (*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_GetHandicapType::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_GetHandicapType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetHandicapType::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_GetHandicapType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_GetHandicapType::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_GetHandicapType);

Code

218HandicapTypes CvDllPlayer::GetHandicapType() const219{220	return m_pPlayer->getHandicapType();221}

Calls