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

Method isInvincible

bwapi/BWAPILIB/Source/UnitType.cpp:2388–2391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2386 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::PermanentCloak);
2387 }
2388 bool UnitType::isInvincible() const
2389 {
2390 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::Invincible);
2391 }
2392 bool UnitType::isOrganic() const
2393 {
2394 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::OrganicUnit);

Callers 4

Military.cppFile · 0.45
RunJunkYardDogMethod · 0.45
getUnitsInWeaponRangeMethod · 0.45
Filters.cppFile · 0.45

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected