Bazaar developer reference

CvCity::getHighestPopulation() const

Defined in
CvCity.cpp, line 8039
Class
CvCity
Hook name
CivHooks::CvCity_getHighestPopulation

Hooks

static bool BeforeCvCity_getHighestPopulation(const CvCity* self, int& result);static void AfterCvCity_getHighestPopulation(const CvCity* self, int& result);static int ReplaceCvCity_getHighestPopulation(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getHighestPopulation>(host, &BeforeCvCity_getHighestPopulation);CivRegisterAfter<CivHooks::CvCity_getHighestPopulation>(host, &AfterCvCity_getHighestPopulation);CivRegisterReplace<CivHooks::CvCity_getHighestPopulation>(host, &ReplaceCvCity_getHighestPopulation);

Code

8039int CvCity::getHighestPopulation() const8040{8041	VALIDATE_OBJECT8042	return m_iHighestPopulation;8043}

Calls

Called by