Bazaar developer reference

CvCombatInfo::setAttackIsAirSweep(bool)

Defined in
CvStructs.cpp, line 325
Class
CvCombatInfo
Hook name
CivHooks::CvCombatInfo_setAttackIsAirSweep

Hooks

static bool BeforeCvCombatInfo_setAttackIsAirSweep(CvCombatInfo* self, bool bAirSweep);static void AfterCvCombatInfo_setAttackIsAirSweep(CvCombatInfo* self, bool bAirSweep);static void ReplaceCvCombatInfo_setAttackIsAirSweep(void (*original)(CvCombatInfo*, bool), CvCombatInfo* self, bool bAirSweep);CivRegisterBefore<CivHooks::CvCombatInfo_setAttackIsAirSweep>(host, &BeforeCvCombatInfo_setAttackIsAirSweep);CivRegisterAfter<CivHooks::CvCombatInfo_setAttackIsAirSweep>(host, &AfterCvCombatInfo_setAttackIsAirSweep);CivRegisterReplace<CivHooks::CvCombatInfo_setAttackIsAirSweep>(host, &ReplaceCvCombatInfo_setAttackIsAirSweep);

Code

325void CvCombatInfo::setAttackIsAirSweep(bool bAirSweep)326{327	m_bAttackIsAirSweep = bAirSweep;328}

Called by