Bazaar developer reference

CvUnit::plot() const

Defined in
CvUnit.cpp, line 16459
Class
CvUnit
Hook name
CivHooks::CvUnit_plot

Hooks

static bool BeforeCvUnit_plot(const CvUnit* self, CvPlot*& result);static void AfterCvUnit_plot(const CvUnit* self, CvPlot*& result);static CvPlot* ReplaceCvUnit_plot(CvPlot* (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_plot>(host, &BeforeCvUnit_plot);CivRegisterAfter<CivHooks::CvUnit_plot>(host, &AfterCvUnit_plot);CivRegisterReplace<CivHooks::CvUnit_plot>(host, &ReplaceCvUnit_plot);

Code

16459CvPlot* CvUnit::plot() const16460{16461	VALIDATE_OBJECT16462	return GC.getMap().plotCheckInvalid(getX(), getY());16463}

Calls

Called by

302 functions in 28 files