Bazaar developer reference

CvVictoryInfo::getLandPercent() const

Defined in
CvInfos.cpp, line 2524
Class
CvVictoryInfo
Hook name
CivHooks::CvVictoryInfo_getLandPercent

Hooks

static bool BeforeCvVictoryInfo_getLandPercent(const CvVictoryInfo* self, int& result);static void AfterCvVictoryInfo_getLandPercent(const CvVictoryInfo* self, int& result);static int ReplaceCvVictoryInfo_getLandPercent(int (*original)(const CvVictoryInfo*), const CvVictoryInfo* self);CivRegisterBefore<CivHooks::CvVictoryInfo_getLandPercent>(host, &BeforeCvVictoryInfo_getLandPercent);CivRegisterAfter<CivHooks::CvVictoryInfo_getLandPercent>(host, &AfterCvVictoryInfo_getLandPercent);CivRegisterReplace<CivHooks::CvVictoryInfo_getLandPercent>(host, &ReplaceCvVictoryInfo_getLandPercent);

Code

2524int CvVictoryInfo::getLandPercent() const2525{2526	return m_iLandPercent;2527}

Called by