Bazaar developer reference

CvTechEntry::GetCityWorkingChange() const

Defined in
CvTechClasses.cpp, line 461
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_GetCityWorkingChange

Hooks

static bool BeforeCvTechEntry_GetCityWorkingChange(const CvTechEntry* self, int& result);static void AfterCvTechEntry_GetCityWorkingChange(const CvTechEntry* self, int& result);static int ReplaceCvTechEntry_GetCityWorkingChange(int (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_GetCityWorkingChange>(host, &BeforeCvTechEntry_GetCityWorkingChange);CivRegisterAfter<CivHooks::CvTechEntry_GetCityWorkingChange>(host, &AfterCvTechEntry_GetCityWorkingChange);CivRegisterReplace<CivHooks::CvTechEntry_GetCityWorkingChange>(host, &ReplaceCvTechEntry_GetCityWorkingChange);

Code

459#if defined(MOD_TECHS_CITY_WORKING)460/// Change in number of rings a city can work461int CvTechEntry::GetCityWorkingChange() const462{463	return m_iCityWorkingChange;464}

Called by