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

Method planets

source/game/StarSystemWorld.cpp:135–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135List<CelestialCoordinate> SystemWorld::planets() const {
136 return m_celestialDatabase->children(CelestialCoordinate(m_location));
137}
138
139uint64_t SystemWorld::coordinateSeed(CelestialCoordinate const& coordinate, String const& seedMix) const {
140 auto satellite = coordinate.isSatelliteBody() ? coordinate.orbitNumber() : 0;

Callers 1

serverUpdateMethod · 0.80

Calls 2

CelestialCoordinateClass · 0.85
childrenMethod · 0.80

Tested by

no test coverage detected