Bazaar developer reference

CvPlot::getSelectedUnit()

Defined in
CvPlot.cpp, line 3004
Class
CvPlot
Hook name
CivHooks::CvPlot_getSelectedUnit

Hooks

static bool BeforeCvPlot_getSelectedUnit(CvPlot* self, CvUnit*& result);static void AfterCvPlot_getSelectedUnit(CvPlot* self, CvUnit*& result);static CvUnit* ReplaceCvPlot_getSelectedUnit(CvUnit* (*original)(CvPlot*), CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_getSelectedUnit>(host, &BeforeCvPlot_getSelectedUnit);CivRegisterAfter<CivHooks::CvPlot_getSelectedUnit>(host, &AfterCvPlot_getSelectedUnit);CivRegisterReplace<CivHooks::CvPlot_getSelectedUnit>(host, &ReplaceCvPlot_getSelectedUnit);

Code

3004CvUnit* CvPlot::getSelectedUnit()3005{3006	return const_cast<CvUnit*>(const_cast<const CvPlot*>(this)->getSelectedUnit());3007}

Calls

Called by