CvUnit::IsFoundAbroad() const
- Defined in
- CvUnit.cpp, line 11851
- Class
- CvUnit
- Hook name
CivHooks::CvUnit_IsFoundAbroad
Hooks
static bool BeforeCvUnit_IsFoundAbroad(const CvUnit* self, bool& result);static void AfterCvUnit_IsFoundAbroad(const CvUnit* self, bool& result);static bool ReplaceCvUnit_IsFoundAbroad(bool (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_IsFoundAbroad>(host, &BeforeCvUnit_IsFoundAbroad);CivRegisterAfter<CivHooks::CvUnit_IsFoundAbroad>(host, &AfterCvUnit_IsFoundAbroad);CivRegisterReplace<CivHooks::CvUnit_IsFoundAbroad>(host, &ReplaceCvUnit_IsFoundAbroad);
Code
11851bool CvUnit::IsFoundAbroad() const11852{11853 VALIDATE_OBJECT11854 return m_pUnitInfo->IsFoundAbroad();11855}