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

Method isCarryingMinerals

bwapi/Shared/UnitShared.cpp:424–427  ·  view source on GitHub ↗

--------------------------------------------- IS CARRYING MINERALS ---------------------------------------

Source from the content-addressed store, hash-verified

422 }
423 //--------------------------------------------- IS CARRYING MINERALS ---------------------------------------
424 bool UnitImpl::isCarryingMinerals() const
425 {
426 return self->carryResourceType == 2;
427 }
428 //--------------------------------------------- IS CLOAKED -------------------------------------------------
429 bool UnitImpl::isCloaked() const
430 {

Callers 4

canReturnCargoFunction · 0.80
Filters.cppFile · 0.80
onStartMethod · 0.80
onFrameMethod · 0.80

Calls

no outgoing calls

Tested by 1

onStartMethod · 0.64