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

Method isRobotic

bwapi/BWAPILIB/Source/UnitType.cpp:2400–2403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2398 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::Mechanical);
2399 }
2400 bool UnitType::isRobotic() const
2401 {
2402 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::RoboticUnit);
2403 }
2404 bool UnitType::isDetector() const
2405 {
2406 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::Detector);

Callers 4

canUseTechUnitFunction · 0.80
WeaponCanHitFunction · 0.80
getUnitsInWeaponRangeMethod · 0.80
Filters.cppFile · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected