Bazaar developer reference

CvResourceInfo::getMinLandPercent() const

Defined in
CvInfos.cpp, line 4567
Class
CvResourceInfo
Hook name
CivHooks::CvResourceInfo_getMinLandPercent

Hooks

static bool BeforeCvResourceInfo_getMinLandPercent(const CvResourceInfo* self, int& result);static void AfterCvResourceInfo_getMinLandPercent(const CvResourceInfo* self, int& result);static int ReplaceCvResourceInfo_getMinLandPercent(int (*original)(const CvResourceInfo*), const CvResourceInfo* self);CivRegisterBefore<CivHooks::CvResourceInfo_getMinLandPercent>(host, &BeforeCvResourceInfo_getMinLandPercent);CivRegisterAfter<CivHooks::CvResourceInfo_getMinLandPercent>(host, &AfterCvResourceInfo_getMinLandPercent);CivRegisterReplace<CivHooks::CvResourceInfo_getMinLandPercent>(host, &ReplaceCvResourceInfo_getMinLandPercent);

Code

4567int CvResourceInfo::getMinLandPercent() const4568{4569	return m_iMinLandPercent;4570}