| 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 }; |