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

Method requiresCreep

bwapi/BWAPILIB/Source/UnitType.cpp:2436–2439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2434 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::RequiresPsi);
2435 }
2436 bool UnitType::requiresCreep() const
2437 {
2438 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::CreepBuilding);
2439 }
2440 bool UnitType::isTwoUnitsInOneEgg() const
2441 {
2442 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::TwoUnitsIn1Egg);

Callers 3

canBuildHereFunction · 0.80
writeUnitInfoFunction · 0.80
Filters.cppFile · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected