Bazaar developer reference

CvPlayer::getTotalPopulation() const

Defined in
CvPlayer.cpp, line 10209
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getTotalPopulation

Hooks

static bool BeforeCvPlayer_getTotalPopulation(const CvPlayer* self, int& result);static void AfterCvPlayer_getTotalPopulation(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getTotalPopulation(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getTotalPopulation>(host, &BeforeCvPlayer_getTotalPopulation);CivRegisterAfter<CivHooks::CvPlayer_getTotalPopulation>(host, &AfterCvPlayer_getTotalPopulation);CivRegisterReplace<CivHooks::CvPlayer_getTotalPopulation>(host, &ReplaceCvPlayer_getTotalPopulation);

Code

10209int CvPlayer::getTotalPopulation() const10210{10211	return m_iTotalPopulation;10212}

Calls

Called by