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

Method isResourceDepot

bwapi/BWAPILIB/Source/UnitType.cpp:2412–2415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2410 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::ResourceContainer);
2411 }
2412 bool UnitType::isResourceDepot() const
2413 {
2414 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::ResourceDepot);
2415 }
2416 bool UnitType::isRefinery() const
2417 {
2418 switch ( *this )

Callers 11

canBuildHereFunction · 0.80
isGatheringGasMethod · 0.80
isGatheringMineralsMethod · 0.80
AddUnitMethod · 0.80
updateDataMethod · 0.80
ReservePlacementFunction · 0.80
Filters.cppFile · 0.80
mainFunction · 0.80
startMethod · 0.80
startMethod · 0.80
onFrameMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by 2

startMethod · 0.64
startMethod · 0.64