CvArmyAI::GetGoalY() const
- Defined in
- CvArmyAI.cpp, line 639
- Class
- CvArmyAI
- Hook name
CivHooks::CvArmyAI_GetGoalY
Hooks
static bool BeforeCvArmyAI_GetGoalY(const CvArmyAI* self, int& result);static void AfterCvArmyAI_GetGoalY(const CvArmyAI* self, int& result);static int ReplaceCvArmyAI_GetGoalY(int (*original)(const CvArmyAI*), const CvArmyAI* self);CivRegisterBefore<CivHooks::CvArmyAI_GetGoalY>(host, &BeforeCvArmyAI_GetGoalY);CivRegisterAfter<CivHooks::CvArmyAI_GetGoalY>(host, &AfterCvArmyAI_GetGoalY);CivRegisterReplace<CivHooks::CvArmyAI_GetGoalY>(host, &ReplaceCvArmyAI_GetGoalY);
Code
638/// Retrieve target plot Y coordinate639int CvArmyAI::GetGoalY() const640{641 return m_iGoalY;642}