Bazaar developer reference

CvVictoryInfo::getPopulationPercentLead() const

Defined in
CvInfos.cpp, line 2519
Class
CvVictoryInfo
Hook name
CivHooks::CvVictoryInfo_getPopulationPercentLead

Hooks

static bool BeforeCvVictoryInfo_getPopulationPercentLead(const CvVictoryInfo* self, int& result);static void AfterCvVictoryInfo_getPopulationPercentLead(const CvVictoryInfo* self, int& result);static int ReplaceCvVictoryInfo_getPopulationPercentLead(int (*original)(const CvVictoryInfo*), const CvVictoryInfo* self);CivRegisterBefore<CivHooks::CvVictoryInfo_getPopulationPercentLead>(host, &BeforeCvVictoryInfo_getPopulationPercentLead);CivRegisterAfter<CivHooks::CvVictoryInfo_getPopulationPercentLead>(host, &AfterCvVictoryInfo_getPopulationPercentLead);CivRegisterReplace<CivHooks::CvVictoryInfo_getPopulationPercentLead>(host, &ReplaceCvVictoryInfo_getPopulationPercentLead);

Code

2519int CvVictoryInfo::getPopulationPercentLead() const2520{2521	return m_iPopulationPercentLead;2522}

Called by