Bazaar developer reference

CvUnit::getExtraRoughRangedAttackMod() const

Defined in
CvUnit.cpp, line 18419
Class
CvUnit
Hook name
CivHooks::CvUnit_getExtraRoughRangedAttackMod

Hooks

static bool BeforeCvUnit_getExtraRoughRangedAttackMod(const CvUnit* self, int& result);static void AfterCvUnit_getExtraRoughRangedAttackMod(const CvUnit* self, int& result);static int ReplaceCvUnit_getExtraRoughRangedAttackMod(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_getExtraRoughRangedAttackMod>(host, &BeforeCvUnit_getExtraRoughRangedAttackMod);CivRegisterAfter<CivHooks::CvUnit_getExtraRoughRangedAttackMod>(host, &AfterCvUnit_getExtraRoughRangedAttackMod);CivRegisterReplace<CivHooks::CvUnit_getExtraRoughRangedAttackMod>(host, &ReplaceCvUnit_getExtraRoughRangedAttackMod);

Code

18419int CvUnit::getExtraRoughRangedAttackMod() const18420{18421	VALIDATE_OBJECT18422	return m_iExtraRoughRangedAttackMod;18423}

Calls

Called by