Bazaar developer reference

CvGame::getTotalPopulation() const

Defined in
CvGame.cpp, line 4855
Class
CvGame
Hook name
CivHooks::CvGame_getTotalPopulation

Hooks

static bool BeforeCvGame_getTotalPopulation(const CvGame* self, int& result);static void AfterCvGame_getTotalPopulation(const CvGame* self, int& result);static int ReplaceCvGame_getTotalPopulation(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_getTotalPopulation>(host, &BeforeCvGame_getTotalPopulation);CivRegisterAfter<CivHooks::CvGame_getTotalPopulation>(host, &AfterCvGame_getTotalPopulation);CivRegisterReplace<CivHooks::CvGame_getTotalPopulation>(host, &ReplaceCvGame_getTotalPopulation);

Code

4855int CvGame::getTotalPopulation() const4856{4857	return m_iTotalPopulation;4858}

Called by