Bazaar developer reference

CvUnit::GetRangeAttackIgnoreLOSCount() const

Defined in
CvUnit.cpp, line 4696
Class
CvUnit
Hook name
CivHooks::CvUnit_GetRangeAttackIgnoreLOSCount

Hooks

static bool BeforeCvUnit_GetRangeAttackIgnoreLOSCount(const CvUnit* self, int& result);static void AfterCvUnit_GetRangeAttackIgnoreLOSCount(const CvUnit* self, int& result);static int ReplaceCvUnit_GetRangeAttackIgnoreLOSCount(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetRangeAttackIgnoreLOSCount>(host, &BeforeCvUnit_GetRangeAttackIgnoreLOSCount);CivRegisterAfter<CivHooks::CvUnit_GetRangeAttackIgnoreLOSCount>(host, &AfterCvUnit_GetRangeAttackIgnoreLOSCount);CivRegisterReplace<CivHooks::CvUnit_GetRangeAttackIgnoreLOSCount>(host, &ReplaceCvUnit_GetRangeAttackIgnoreLOSCount);

Code

4696int CvUnit::GetRangeAttackIgnoreLOSCount() const4697{4698	VALIDATE_OBJECT4699	return m_iRangeAttackIgnoreLOSCount;4700}

Calls

Called by