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

Method setClientDestination

source/game/StarSystemWorldServer.cpp:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void SystemWorldServer::setClientDestination(ConnectionId const& clientId, SystemLocation const& destination) {
38 auto uuid = m_clientShips.get(clientId);
39 m_ships[uuid]->setDestination(destination);
40}
41
42SystemClientShipPtr SystemWorldServer::clientShip(ConnectionId clientId) const {
43 if (m_clientShips.contains(clientId) && m_ships.contains(m_clientShips.get(clientId)))

Callers 2

clientFlyShipMethod · 0.45
flyShipsMethod · 0.45

Calls 2

setDestinationMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected