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

Method load

bwapi/BWAPILIB/UnitCommand.cpp:173–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 return c;
172 }
173 UnitCommand UnitCommand::load(Unit unit, Unit target, bool shiftQueueCommand)
174 {
175 UnitCommand c{ unit, UnitCommandTypes::Load };
176 c.target = target;
177 c.extra = shiftQueueCommand ? 1 : 0;
178 return c;
179 }
180 UnitCommand UnitCommand::unload(Unit unit, Unit target)
181 {
182 UnitCommand c{ unit, UnitCommandTypes::Unload };

Callers 1

updateMethod · 0.45

Calls

no outgoing calls

Tested by 1

updateMethod · 0.36