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

Method stop

bwapi/BWAPILIB/UnitCommand.cpp:106–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 return c;
105 }
106 UnitCommand UnitCommand::stop(Unit unit, bool shiftQueueCommand)
107 {
108 UnitCommand c{ unit, UnitCommandTypes::Stop };
109 c.extra = shiftQueueCommand ? 1 : 0;
110 return c;
111 }
112 UnitCommand UnitCommand::follow(Unit unit, Unit target, bool shiftQueueCommand)
113 {
114 UnitCommand c{ unit, UnitCommandTypes::Follow };

Callers 2

gFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected