CvArmyAI::GetGoalX() const
- Defined in
- CvArmyAI.cpp, line 633
- Class
- CvArmyAI
- Hook name
CivHooks::CvArmyAI_GetGoalX
Hooks
static bool BeforeCvArmyAI_GetGoalX(const CvArmyAI* self, int& result);static void AfterCvArmyAI_GetGoalX(const CvArmyAI* self, int& result);static int ReplaceCvArmyAI_GetGoalX(int (*original)(const CvArmyAI*), const CvArmyAI* self);CivRegisterBefore<CivHooks::CvArmyAI_GetGoalX>(host, &BeforeCvArmyAI_GetGoalX);CivRegisterAfter<CivHooks::CvArmyAI_GetGoalX>(host, &AfterCvArmyAI_GetGoalX);CivRegisterReplace<CivHooks::CvArmyAI_GetGoalX>(host, &ReplaceCvArmyAI_GetGoalX);
Code
632/// Retrieve target plot X coordinate633int CvArmyAI::GetGoalX() const634{635 return m_iGoalX;636}