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

Method gather

bwapi/BWAPILIB/UnitCommand.cpp:119–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 return c;
118 }
119 UnitCommand UnitCommand::gather(Unit unit, Unit target, bool shiftQueueCommand)
120 {
121 UnitCommand c{ unit, UnitCommandTypes::Gather };
122 c.target = target;
123 c.extra = shiftQueueCommand ? 1 : 0;
124 return c;
125 }
126 UnitCommand UnitCommand::returnCargo(Unit unit, bool shiftQueueCommand)
127 {
128 UnitCommand c{ unit, UnitCommandTypes::Return_Cargo };

Callers 3

startMethod · 0.45
updateMethod · 0.45
onFrameMethod · 0.45

Calls

no outgoing calls

Tested by 2

startMethod · 0.36
updateMethod · 0.36