Bazaar developer reference

CvUnit::getReconPlot() const

Defined in
CvUnit.cpp, line 16545
Class
CvUnit
Hook name
CivHooks::CvUnit_getReconPlot

Hooks

static bool BeforeCvUnit_getReconPlot(const CvUnit* self, CvPlot*& result);static void AfterCvUnit_getReconPlot(const CvUnit* self, CvPlot*& result);static CvPlot* ReplaceCvUnit_getReconPlot(CvPlot* (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_getReconPlot>(host, &BeforeCvUnit_getReconPlot);CivRegisterAfter<CivHooks::CvUnit_getReconPlot>(host, &AfterCvUnit_getReconPlot);CivRegisterReplace<CivHooks::CvUnit_getReconPlot>(host, &ReplaceCvUnit_getReconPlot);

Code

16545CvPlot* CvUnit::getReconPlot() const16546{16547	VALIDATE_OBJECT16548	return GC.getMap().plotCheckInvalid(m_iReconX, m_iReconY);16549}

Calls

Called by