Bazaar developer reference

CvCombatInfo::getAttackIsRanged() const

Defined in
CvStructs.cpp, line 310
Class
CvCombatInfo
Hook name
CivHooks::CvCombatInfo_getAttackIsRanged

Hooks

static bool BeforeCvCombatInfo_getAttackIsRanged(const CvCombatInfo* self, bool& result);static void AfterCvCombatInfo_getAttackIsRanged(const CvCombatInfo* self, bool& result);static bool ReplaceCvCombatInfo_getAttackIsRanged(bool (*original)(const CvCombatInfo*), const CvCombatInfo* self);CivRegisterBefore<CivHooks::CvCombatInfo_getAttackIsRanged>(host, &BeforeCvCombatInfo_getAttackIsRanged);CivRegisterAfter<CivHooks::CvCombatInfo_getAttackIsRanged>(host, &AfterCvCombatInfo_getAttackIsRanged);CivRegisterReplace<CivHooks::CvCombatInfo_getAttackIsRanged>(host, &ReplaceCvCombatInfo_getAttackIsRanged);

Code

310bool CvCombatInfo::getAttackIsRanged() const311{312	return m_bAttackIsRanged;313}

Called by