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
- CvAIEnemyTerritoryOperation::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvAIEscortedOperation::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvAINavalEscortedOperation::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvAIOperation::CheckOnTarget()
- CvAIOperation::ComputeCenterOfMassForTurn(CvArmyAI *, CvPlot **) const
- CvAIOperation::PercentFromMusterPointToTarget()
- CvAIOperationBasicCityAttack::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvAIOperationCityCloseDefense::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvAIOperationFoundCity::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvAIOperationFoundCity::ShouldAbort()
- CvAIOperationNavalAttack::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvAIOperationNavalBombardment::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvAIOperationNavalSuperiority::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvAIOperationPureNavalCityAttack::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvAIOperationRapidResponse::Init(int, PlayerTypes, PlayerTypes, int, CvCity *, CvCity *)
- CvTacticalAI::PlotEnemyTerritoryOperationMoves(CvAIEnemyTerritoryOperation *)
- CvTacticalAI::PlotFreeformNavalOperationMoves(CvAINavalOperation *)
- CvTacticalAI::PlotNavalEscortOperationMoves(CvAINavalEscortedOperation *)