Bazaar developer reference

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