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

Method shipDestination

source/game/StarSystemWorldClient.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30SystemLocation SystemWorldClient::shipDestination() const {
31 if (m_ship)
32 return m_ship->destination();
33 else
34 return {};
35}
36
37// ship is flying if the system world is uninitialized or the ship doesn't have a location
38bool SystemWorldClient::flying() const {

Callers 1

Calls 1

destinationMethod · 0.80

Tested by

no test coverage detected