Bazaar developer reference

CvCity::getNumNationalWonders() const

Defined in
CvCity.cpp, line 8853
Class
CvCity
Hook name
CivHooks::CvCity_getNumNationalWonders

Hooks

static bool BeforeCvCity_getNumNationalWonders(const CvCity* self, int& result);static void AfterCvCity_getNumNationalWonders(const CvCity* self, int& result);static int ReplaceCvCity_getNumNationalWonders(int (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_getNumNationalWonders>(host, &BeforeCvCity_getNumNationalWonders);CivRegisterAfter<CivHooks::CvCity_getNumNationalWonders>(host, &AfterCvCity_getNumNationalWonders);CivRegisterReplace<CivHooks::CvCity_getNumNationalWonders>(host, &ReplaceCvCity_getNumNationalWonders);

Code

8853int CvCity::getNumNationalWonders() const8854{8855	VALIDATE_OBJECT8856	return m_iNumNationalWonders;8857}

Calls

Called by