Bazaar developer reference

CvCity::getHandicapType() const

Defined in
CvCity.cpp, line 7106
Class
CvCity
Hook name
CivHooks::CvCity_getHandicapType

Hooks

static bool BeforeCvCity_getHandicapType(const CvCity* self, HandicapTypes& result);static void AfterCvCity_getHandicapType(const CvCity* self, HandicapTypes& result);static HandicapTypes ReplaceCvCity_getHandicapType(HandicapTypes (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getHandicapType>(host, &BeforeCvCity_getHandicapType);CivRegisterAfter<CivHooks::CvCity_getHandicapType>(host, &AfterCvCity_getHandicapType);CivRegisterReplace<CivHooks::CvCity_getHandicapType>(host, &ReplaceCvCity_getHandicapType);

Code

7106HandicapTypes CvCity::getHandicapType() const7107{7108	VALIDATE_OBJECT7109	return GET_PLAYER(getOwner()).getHandicapType();7110}

Calls

Called by