Bazaar developer reference

CvGoodyInfo::isUpgradeUnit() const

Defined in
CvInfos.cpp, line 4175
Class
CvGoodyInfo
Hook name
CivHooks::CvGoodyInfo_isUpgradeUnit

Hooks

static bool BeforeCvGoodyInfo_isUpgradeUnit(const CvGoodyInfo* self, bool& result);static void AfterCvGoodyInfo_isUpgradeUnit(const CvGoodyInfo* self, bool& result);static bool ReplaceCvGoodyInfo_isUpgradeUnit(bool (*original)(const CvGoodyInfo*), const CvGoodyInfo* self);CivRegisterBefore<CivHooks::CvGoodyInfo_isUpgradeUnit>(host, &BeforeCvGoodyInfo_isUpgradeUnit);CivRegisterAfter<CivHooks::CvGoodyInfo_isUpgradeUnit>(host, &AfterCvGoodyInfo_isUpgradeUnit);CivRegisterReplace<CivHooks::CvGoodyInfo_isUpgradeUnit>(host, &ReplaceCvGoodyInfo_isUpgradeUnit);

Code

4175bool CvGoodyInfo::isUpgradeUnit() const4176{4177	return m_bUpgradeUnit;4178}

Called by