CvCity::area() const
- Defined in
- CvCity.cpp, line 7693
- Class
- CvCity
- Hook name
CivHooks::CvCity_area
Hooks
static bool BeforeCvCity_area(const CvCity* self, CvArea*& result);static void AfterCvCity_area(const CvCity* self, CvArea*& result);static CvArea* ReplaceCvCity_area(CvArea* (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_area>(host, &BeforeCvCity_area);CivRegisterAfter<CivHooks::CvCity_area>(host, &AfterCvCity_area);CivRegisterReplace<CivHooks::CvCity_area>(host, &ReplaceCvCity_area);
Code
7693CvArea* CvCity::area() const7694{7695 VALIDATE_OBJECT7696 return plot()->area();7697}
Calls
Called by
- CvCity::PreKill(bool)
- CvCity::getBaseYieldRateModifier(YieldTypes, int, CvString *) const
- CvCity::init(int, PlayerTypes, int, int, bool, bool, ReligionTypes, const char *)
- CvCity::processBuilding(BuildingTypes, int, bool, bool, bool)
- CvCity::setPopulation(int, bool)
- CvEconomicAI::DisbandExtraWorkers()
- CvMap::findCity(int, int, PlayerTypes, TeamTypes, bool, bool, TeamTypes, DirectionTypes, const CvCity *)
- CvTeam::shareItems(TeamTypes)
- CvLuaCity::lArea(lua_State *)