Bazaar developer reference

CvCity::getNumGreatPeople() const

Defined in
CvCity.cpp, line 8055
Class
CvCity
Hook name
CivHooks::CvCity_getNumGreatPeople

Hooks

static bool BeforeCvCity_getNumGreatPeople(const CvCity* self, int& result);static void AfterCvCity_getNumGreatPeople(const CvCity* self, int& result);static int ReplaceCvCity_getNumGreatPeople(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getNumGreatPeople>(host, &BeforeCvCity_getNumGreatPeople);CivRegisterAfter<CivHooks::CvCity_getNumGreatPeople>(host, &AfterCvCity_getNumGreatPeople);CivRegisterReplace<CivHooks::CvCity_getNumGreatPeople>(host, &ReplaceCvCity_getNumGreatPeople);

Code

8055int CvCity::getNumGreatPeople() const8056{8057	VALIDATE_OBJECT8058	return m_iNumGreatPeople;8059}

Calls

Called by