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

Method unloadAll

bwapi/BWAPILIB/UnitCommand.cpp:186–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 return c;
185 }
186 UnitCommand UnitCommand::unloadAll(Unit unit, bool shiftQueueCommand)
187 {
188 UnitCommand c{ unit, UnitCommandTypes::Unload_All };
189 c.extra = shiftQueueCommand ? 1 : 0;
190 return c;
191 }
192 UnitCommand UnitCommand::unloadAll(Unit unit, Position target, bool shiftQueueCommand)
193 {
194 UnitCommand c{ unit, UnitCommandTypes::Unload_All_Position };

Callers 3

DoUnitBehaviourMethod · 0.45
executeMethod · 0.45
updateMethod · 0.45

Calls 1

assignTargetMethod · 0.80

Tested by 1

updateMethod · 0.36