Bazaar developer reference

CvPlot::prevUnitNode(IDInfo *)

Defined in
CvPlot.cpp, line 10373
Class
CvPlot
Hook name
CivHooks::CvPlot_prevUnitNode_with_IDInfo

Hooks

static bool BeforeCvPlot_prevUnitNode_with_IDInfo(CvPlot* self, IDInfo* pNode, IDInfo*& result);static void AfterCvPlot_prevUnitNode_with_IDInfo(CvPlot* self, IDInfo* pNode, IDInfo*& result);static IDInfo* ReplaceCvPlot_prevUnitNode_with_IDInfo(IDInfo* (*original)(CvPlot*, IDInfo*), CvPlot* self, IDInfo* pNode);CivRegisterBefore<CivHooks::CvPlot_prevUnitNode_with_IDInfo>(host, &BeforeCvPlot_prevUnitNode_with_IDInfo);CivRegisterAfter<CivHooks::CvPlot_prevUnitNode_with_IDInfo>(host, &AfterCvPlot_prevUnitNode_with_IDInfo);CivRegisterReplace<CivHooks::CvPlot_prevUnitNode_with_IDInfo>(host, &ReplaceCvPlot_prevUnitNode_with_IDInfo);

Code

10373IDInfo* CvPlot::prevUnitNode(IDInfo* pNode)10374{10375	return m_units.prev(pNode);10376}

Calls

Called by