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

Method hasPermanentCloak

bwapi/BWAPILIB/Source/UnitType.cpp:2384–2387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2382 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::Spellcaster);
2383 }
2384 bool UnitType::hasPermanentCloak() const
2385 {
2386 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::PermanentCloak);
2387 }
2388 bool UnitType::isInvincible() const
2389 {
2390 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::Invincible);

Callers 2

writeUnitInfoFunction · 0.80
Filters.cppFile · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected