Bazaar developer reference

CvArmyAI::GetY() const

Defined in
CvArmyAI.cpp, line 531
Class
CvArmyAI
Hook name
CivHooks::CvArmyAI_GetY

Hooks

static bool BeforeCvArmyAI_GetY(const CvArmyAI* self, int& result);static void AfterCvArmyAI_GetY(const CvArmyAI* self, int& result);static int ReplaceCvArmyAI_GetY(int (*original)(const CvArmyAI*), const CvArmyAI* self);CivRegisterBefore<CivHooks::CvArmyAI_GetY>(host, &BeforeCvArmyAI_GetY);CivRegisterAfter<CivHooks::CvArmyAI_GetY>(host, &AfterCvArmyAI_GetY);CivRegisterReplace<CivHooks::CvArmyAI_GetY>(host, &ReplaceCvArmyAI_GetY);

Code

530/// Army's current Y position531int CvArmyAI::GetY() const532{533	return m_iCurrentY;534}

Called by