MCPcopy Create free account
hub / github.com/bwapi/bwapi / targetsOwn

Method targetsOwn

bwapi/BWAPILIB/Source/WeaponType.cpp:609–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607 return !!(wpnFlags[this->getID()] & TARG_ORGMECH);
608 }
609 bool WeaponType::targetsOwn() const
610 {
611 return !!(wpnFlags[this->getID()] & TARG_OWN);
612 }
613 const WeaponType::set& WeaponTypes::allWeaponTypes()
614 {
615 return WeaponTypesSet::weaponTypeSet;

Callers 2

WeaponCanHitFunction · 0.80
getUnitsInWeaponRangeMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected