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

Method isCarryingGas

bwapi/Shared/UnitShared.cpp:419–422  ·  view source on GitHub ↗

--------------------------------------------- IS CARRYING GAS --------------------------------------------

Source from the content-addressed store, hash-verified

417 }
418 //--------------------------------------------- IS CARRYING GAS --------------------------------------------
419 bool UnitImpl::isCarryingGas() const
420 {
421 return self->carryResourceType == 1;
422 }
423 //--------------------------------------------- IS CARRYING MINERALS ---------------------------------------
424 bool UnitImpl::isCarryingMinerals() const
425 {

Callers 6

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

Calls

no outgoing calls

Tested by 2

onStartMethod · 0.64
updateMethod · 0.64