Bazaar developer reference

CvArmyAI::Plot() const

Defined in
CvArmyAI.cpp, line 556
Class
CvArmyAI
Hook name
CivHooks::CvArmyAI_Plot

Hooks

static bool BeforeCvArmyAI_Plot(const CvArmyAI* self, CvPlot*& result);static void AfterCvArmyAI_Plot(const CvArmyAI* self, CvPlot*& result);static CvPlot* ReplaceCvArmyAI_Plot(CvPlot* (*original)(const CvArmyAI*), const CvArmyAI* self);CivRegisterBefore<CivHooks::CvArmyAI_Plot>(host, &BeforeCvArmyAI_Plot);CivRegisterAfter<CivHooks::CvArmyAI_Plot>(host, &AfterCvArmyAI_Plot);CivRegisterReplace<CivHooks::CvArmyAI_Plot>(host, &ReplaceCvArmyAI_Plot);

Code

555/// Retrieve the army's current plot556CvPlot* CvArmyAI::Plot() const557{558	return GC.getMap().plotCheckInvalid(m_iCurrentX, m_iCurrentY);559}

Calls

Called by