Bazaar developer reference

CvArea::getTotalPopulation() const

Defined in
CvArea.cpp, line 289
Class
CvArea
Hook name
CivHooks::CvArea_getTotalPopulation

Hooks

static bool BeforeCvArea_getTotalPopulation(const CvArea* self, int& result);static void AfterCvArea_getTotalPopulation(const CvArea* self, int& result);static int ReplaceCvArea_getTotalPopulation(int (*original)(const CvArea*), const CvArea* self);CivRegisterBefore<CivHooks::CvArea_getTotalPopulation>(host, &BeforeCvArea_getTotalPopulation);CivRegisterAfter<CivHooks::CvArea_getTotalPopulation>(host, &AfterCvArea_getTotalPopulation);CivRegisterReplace<CivHooks::CvArea_getTotalPopulation>(host, &ReplaceCvArea_getTotalPopulation);

Code

289int CvArea::getTotalPopulation() const290{291	return m_iTotalPopulation;292}

Called by