Bazaar developer reference

CvTeam::getTotalPopulation() const

Defined in
CvTeam.cpp, line 2844
Class
CvTeam
Hook name
CivHooks::CvTeam_getTotalPopulation

Hooks

static bool BeforeCvTeam_getTotalPopulation(const CvTeam* self, int& result);static void AfterCvTeam_getTotalPopulation(const CvTeam* self, int& result);static int ReplaceCvTeam_getTotalPopulation(int (*original)(const CvTeam*), const CvTeam* self);CivRegisterBefore<CivHooks::CvTeam_getTotalPopulation>(host, &BeforeCvTeam_getTotalPopulation);CivRegisterAfter<CivHooks::CvTeam_getTotalPopulation>(host, &AfterCvTeam_getTotalPopulation);CivRegisterReplace<CivHooks::CvTeam_getTotalPopulation>(host, &ReplaceCvTeam_getTotalPopulation);

Code

2844int CvTeam::getTotalPopulation() const2845{2846	return (m_iTotalPopulation);2847}

Called by