Bazaar developer reference

CvGame::getMaxPopulation() const

Defined in
CvGame.cpp, line 4904
Class
CvGame
Hook name
CivHooks::CvGame_getMaxPopulation

Hooks

static bool BeforeCvGame_getMaxPopulation(const CvGame* self, int& result);static void AfterCvGame_getMaxPopulation(const CvGame* self, int& result);static int ReplaceCvGame_getMaxPopulation(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_getMaxPopulation>(host, &BeforeCvGame_getMaxPopulation);CivRegisterAfter<CivHooks::CvGame_getMaxPopulation>(host, &AfterCvGame_getMaxPopulation);CivRegisterReplace<CivHooks::CvGame_getMaxPopulation>(host, &ReplaceCvGame_getMaxPopulation);

Code

4904int CvGame::getMaxPopulation() const4905{4906	return m_iMaxPopulation;4907}

Called by