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

Method holdPosition

bwapi/BWAPILIB/UnitCommand.cpp:100–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 return c;
99 }
100 UnitCommand UnitCommand::holdPosition(Unit unit, bool shiftQueueCommand)
101 {
102 UnitCommand c{ unit, UnitCommandTypes::Hold_Position };
103 c.extra = shiftQueueCommand ? 1 : 0;
104 return c;
105 }
106 UnitCommand UnitCommand::stop(Unit unit, bool shiftQueueCommand)
107 {
108 UnitCommand c{ unit, UnitCommandTypes::Stop };

Callers 2

RunMilitaryControllerMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by 1

updateMethod · 0.36