Bazaar developer reference

CvPlot::area() const

Defined in
CvPlot.cpp, line 4585
Class
CvPlot
Hook name
CivHooks::CvPlot_area

Hooks

static bool BeforeCvPlot_area(const CvPlot* self, CvArea*& result);static void AfterCvPlot_area(const CvPlot* self, CvArea*& result);static CvArea* ReplaceCvPlot_area(CvArea* (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_area>(host, &BeforeCvPlot_area);CivRegisterAfter<CivHooks::CvPlot_area>(host, &AfterCvPlot_area);CivRegisterReplace<CivHooks::CvPlot_area>(host, &ReplaceCvPlot_area);

Code

4585CvArea* CvPlot::area() const4586{4587	return GC.getMap().getArea(getArea());4588}

Calls

Called by

37 functions in 13 files