Bazaar developer reference

CvVictoryInfo::getMinLandPercent() const

Defined in
CvInfos.cpp, line 2529
Class
CvVictoryInfo
Hook name
CivHooks::CvVictoryInfo_getMinLandPercent

Hooks

static bool BeforeCvVictoryInfo_getMinLandPercent(const CvVictoryInfo* self, int& result);static void AfterCvVictoryInfo_getMinLandPercent(const CvVictoryInfo* self, int& result);static int ReplaceCvVictoryInfo_getMinLandPercent(int (*original)(const CvVictoryInfo*), const CvVictoryInfo* self);CivRegisterBefore<CivHooks::CvVictoryInfo_getMinLandPercent>(host, &BeforeCvVictoryInfo_getMinLandPercent);CivRegisterAfter<CivHooks::CvVictoryInfo_getMinLandPercent>(host, &AfterCvVictoryInfo_getMinLandPercent);CivRegisterReplace<CivHooks::CvVictoryInfo_getMinLandPercent>(host, &ReplaceCvVictoryInfo_getMinLandPercent);

Code

2529int CvVictoryInfo::getMinLandPercent() const2530{2531	return m_iMinLandPercent;2532}

Called by