CvCity::waterArea() const
- Defined in
- CvCity.cpp, line 7701
- Class
- CvCity
- Hook name
CivHooks::CvCity_waterArea
Hooks
static bool BeforeCvCity_waterArea(const CvCity* self, CvArea*& result);static void AfterCvCity_waterArea(const CvCity* self, CvArea*& result);static CvArea* ReplaceCvCity_waterArea(CvArea* (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_waterArea>(host, &BeforeCvCity_waterArea);CivRegisterAfter<CivHooks::CvCity_waterArea>(host, &AfterCvCity_waterArea);CivRegisterReplace<CivHooks::CvCity_waterArea>(host, &ReplaceCvCity_waterArea);
Code
7701CvArea* CvCity::waterArea() const7702{7703 VALIDATE_OBJECT7704 return plot()->waterArea();7705}