Bazaar developer reference

CvPlayer::getHandicapType() const

Defined in
CvPlayer.cpp, line 18465
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getHandicapType

Hooks

static bool BeforeCvPlayer_getHandicapType(const CvPlayer* self, HandicapTypes& result);static void AfterCvPlayer_getHandicapType(const CvPlayer* self, HandicapTypes& result);static HandicapTypes ReplaceCvPlayer_getHandicapType(HandicapTypes (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getHandicapType>(host, &BeforeCvPlayer_getHandicapType);CivRegisterAfter<CivHooks::CvPlayer_getHandicapType>(host, &AfterCvPlayer_getHandicapType);CivRegisterReplace<CivHooks::CvPlayer_getHandicapType>(host, &ReplaceCvPlayer_getHandicapType);

Code

18465HandicapTypes CvPlayer::getHandicapType() const18466{18467	return CvPreGame::handicap(GetID());18468}

Calls

Called by