Bazaar developer reference

CvPlot::getNeighboringPlot(DirectionTypes) const

Defined in
CvPlot.cpp, line 1372
Class
CvPlot
Hook name
CivHooks::CvPlot_getNeighboringPlot

Hooks

static bool BeforeCvPlot_getNeighboringPlot(const CvPlot* self, DirectionTypes eDirection, CvPlot*& result);static void AfterCvPlot_getNeighboringPlot(const CvPlot* self, DirectionTypes eDirection, CvPlot*& result);static CvPlot* ReplaceCvPlot_getNeighboringPlot(CvPlot* (*original)(const CvPlot*, DirectionTypes), const CvPlot* self, DirectionTypes eDirection);CivRegisterBefore<CivHooks::CvPlot_getNeighboringPlot>(host, &BeforeCvPlot_getNeighboringPlot);CivRegisterAfter<CivHooks::CvPlot_getNeighboringPlot>(host, &AfterCvPlot_getNeighboringPlot);CivRegisterReplace<CivHooks::CvPlot_getNeighboringPlot>(host, &ReplaceCvPlot_getNeighboringPlot);

Code

1372CvPlot* CvPlot::getNeighboringPlot(DirectionTypes eDirection) const1373{1374	return plotDirection(getX(), getY(), eDirection);1375}

Calls

Called by