Bazaar developer reference

CvUnit::IsRangeAttackIgnoreLOS() const

Defined in
CvUnit.cpp, line 4689
Class
CvUnit
Hook name
CivHooks::CvUnit_IsRangeAttackIgnoreLOS

Hooks

static bool BeforeCvUnit_IsRangeAttackIgnoreLOS(const CvUnit* self, bool& result);static void AfterCvUnit_IsRangeAttackIgnoreLOS(const CvUnit* self, bool& result);static bool ReplaceCvUnit_IsRangeAttackIgnoreLOS(bool (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_IsRangeAttackIgnoreLOS>(host, &BeforeCvUnit_IsRangeAttackIgnoreLOS);CivRegisterAfter<CivHooks::CvUnit_IsRangeAttackIgnoreLOS>(host, &AfterCvUnit_IsRangeAttackIgnoreLOS);CivRegisterReplace<CivHooks::CvUnit_IsRangeAttackIgnoreLOS>(host, &ReplaceCvUnit_IsRangeAttackIgnoreLOS);

Code

4689bool CvUnit::IsRangeAttackIgnoreLOS() const4690{4691	VALIDATE_OBJECT4692	return GetRangeAttackIgnoreLOSCount() > 0;4693}

Calls

Called by