Bazaar developer reference

CvAIOperation::GetMusterPlot() const

Defined in
CvAIOperation.cpp, line 188
Class
CvAIOperation
Hook name
CivHooks::CvAIOperation_GetMusterPlot

Hooks

static bool BeforeCvAIOperation_GetMusterPlot(const CvAIOperation* self, CvPlot*& result);static void AfterCvAIOperation_GetMusterPlot(const CvAIOperation* self, CvPlot*& result);static CvPlot* ReplaceCvAIOperation_GetMusterPlot(CvPlot* (*original)(const CvAIOperation*), const CvAIOperation* self);CivRegisterBefore<CivHooks::CvAIOperation_GetMusterPlot>(host, &BeforeCvAIOperation_GetMusterPlot);CivRegisterAfter<CivHooks::CvAIOperation_GetMusterPlot>(host, &AfterCvAIOperation_GetMusterPlot);CivRegisterReplace<CivHooks::CvAIOperation_GetMusterPlot>(host, &ReplaceCvAIOperation_GetMusterPlot);

Code

187/// Retrieve plot where this operation assembles188CvPlot* CvAIOperation::GetMusterPlot() const189{190	CvPlot* rtnValue = NULL;191	rtnValue =  GC.getMap().plot(m_iMusterX, m_iMusterY);192	return rtnValue;193}

Calls

Called by