MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / clientShipLocation

Method clientShipLocation

source/game/StarSystemWorldServer.cpp:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49SystemLocation SystemWorldServer::clientShipLocation(ConnectionId clientId) const {
50 return m_ships.get(m_clientShips.get(clientId))->systemLocation();
51}
52
53Maybe<pair<WarpAction, WarpMode>> SystemWorldServer::clientWarpAction(ConnectionId clientId) const {
54 auto ship = m_ships.get(m_clientShips.get(clientId));

Callers 2

clientFlyShipMethod · 0.45
arriveShipsMethod · 0.45

Calls 2

systemLocationMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected