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

Method requiresPsi

bwapi/BWAPILIB/Source/UnitType.cpp:2432–2435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2430 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::Worker);
2431 }
2432 bool UnitType::requiresPsi() const
2433 {
2434 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::RequiresPsi);
2435 }
2436 bool UnitType::requiresCreep() const
2437 {
2438 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::CreepBuilding);

Callers 4

hasPowerFunction · 0.80
canBuildHereFunction · 0.80
writeUnitInfoFunction · 0.80
Filters.cppFile · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected