Bazaar developer reference

CvAIOperation::SetMusterPlot(CvPlot *)

Defined in
CvAIOperation.cpp, line 196
Class
CvAIOperation
Hook name
CivHooks::CvAIOperation_SetMusterPlot

Hooks

static bool BeforeCvAIOperation_SetMusterPlot(CvAIOperation* self, CvPlot* pMuster);static void AfterCvAIOperation_SetMusterPlot(CvAIOperation* self, CvPlot* pMuster);static void ReplaceCvAIOperation_SetMusterPlot(void (*original)(CvAIOperation*, CvPlot*), CvAIOperation* self, CvPlot* pMuster);CivRegisterBefore<CivHooks::CvAIOperation_SetMusterPlot>(host, &BeforeCvAIOperation_SetMusterPlot);CivRegisterAfter<CivHooks::CvAIOperation_SetMusterPlot>(host, &AfterCvAIOperation_SetMusterPlot);CivRegisterReplace<CivHooks::CvAIOperation_SetMusterPlot>(host, &ReplaceCvAIOperation_SetMusterPlot);

Code

195/// Set plot where this operation assembles196void CvAIOperation::SetMusterPlot(CvPlot* pMuster)197{198	m_iMusterX = pMuster->getX();199	m_iMusterY = pMuster->getY();200}

Calls

Called by