Bazaar developer reference

CvPlayer::GetNewCityExtraPopulation() const

Defined in
CvPlayer.cpp, line 10256
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetNewCityExtraPopulation

Hooks

static bool BeforeCvPlayer_GetNewCityExtraPopulation(const CvPlayer* self, int& result);static void AfterCvPlayer_GetNewCityExtraPopulation(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetNewCityExtraPopulation(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetNewCityExtraPopulation>(host, &BeforeCvPlayer_GetNewCityExtraPopulation);CivRegisterAfter<CivHooks::CvPlayer_GetNewCityExtraPopulation>(host, &AfterCvPlayer_GetNewCityExtraPopulation);CivRegisterReplace<CivHooks::CvPlayer_GetNewCityExtraPopulation>(host, &ReplaceCvPlayer_GetNewCityExtraPopulation);

Code

10256int CvPlayer::GetNewCityExtraPopulation() const10257{10258	return m_iNewCityExtraPopulation;10259}

Calls

Called by