| 131 | } |
| 132 | |
| 133 | SystemLocation SystemWorldServerThread::clientShipLocation(ConnectionId clientId) { |
| 134 | ReadLocker locker(m_queueMutex); |
| 135 | // while a ship destination is pending the ship is assumed to be flying |
| 136 | if (m_clientShipDestinations.contains(clientId)) |
| 137 | return {}; |
| 138 | return m_clientShipLocations.get(clientId).first; |
| 139 | } |
| 140 | |
| 141 | Maybe<pair<WarpAction, WarpMode>> SystemWorldServerThread::clientWarpAction(ConnectionId clientId) { |
| 142 | ReadLocker locker(m_queueMutex); |