Bazaar developer reference

CvCity::getHandicapInfo() const

Defined in
CvCity.cpp, line 7100
Class
CvCity
Hook name
CivHooks::CvCity_getHandicapInfo

Hooks

static bool BeforeCvCity_getHandicapInfo(const CvCity* self, CvHandicapInfo*& result);static void AfterCvCity_getHandicapInfo(const CvCity* self, CvHandicapInfo*& result);static CvHandicapInfo& ReplaceCvCity_getHandicapInfo(CvHandicapInfo& (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getHandicapInfo>(host, &BeforeCvCity_getHandicapInfo);CivRegisterAfter<CivHooks::CvCity_getHandicapInfo>(host, &AfterCvCity_getHandicapInfo);CivRegisterReplace<CivHooks::CvCity_getHandicapInfo>(host, &ReplaceCvCity_getHandicapInfo);

Code

7100CvHandicapInfo& CvCity::getHandicapInfo() const7101{7102	return GET_PLAYER(getOwner()).getHandicapInfo();7103}

Calls