Bazaar developer reference

CvUnit::isSetUpForRangedAttack() const

Defined in
CvUnit.cpp, line 4797
Class
CvUnit
Hook name
CivHooks::CvUnit_isSetUpForRangedAttack

Hooks

static bool BeforeCvUnit_isSetUpForRangedAttack(const CvUnit* self, bool& result);static void AfterCvUnit_isSetUpForRangedAttack(const CvUnit* self, bool& result);static bool ReplaceCvUnit_isSetUpForRangedAttack(bool (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_isSetUpForRangedAttack>(host, &BeforeCvUnit_isSetUpForRangedAttack);CivRegisterAfter<CivHooks::CvUnit_isSetUpForRangedAttack>(host, &AfterCvUnit_isSetUpForRangedAttack);CivRegisterReplace<CivHooks::CvUnit_isSetUpForRangedAttack>(host, &ReplaceCvUnit_isSetUpForRangedAttack);

Code

4797bool CvUnit::isSetUpForRangedAttack() const4798{4799	VALIDATE_OBJECT4800	return m_bSetUpForRangedAttack;4801}

Calls

Called by