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

Method isResourceContainer

bwapi/BWAPILIB/Source/UnitType.cpp:2408–2411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2406 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::Detector);
2407 }
2408 bool UnitType::isResourceContainer() const
2409 {
2410 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::ResourceContainer);
2411 }
2412 bool UnitType::isResourceDepot() const
2413 {
2414 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::ResourceDepot);

Callers 7

isNeutralMethod · 0.95
canCommandFunction · 0.80
canGatherFunction · 0.80
addMethod · 0.80
updateInternalDataMethod · 0.80
updateDataMethod · 0.80
Filters.cppFile · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected