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

Method netStore

source/game/StarCelestialParameters.cpp:54–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54ByteArray CelestialParameters::netStore() const {
55 DataStreamBuffer ds;
56 ds << m_coordinate;
57 ds << m_seed;
58 ds << m_name;
59 ds << m_parameters;
60 ds.write(netStoreVisitableWorldParameters(m_visitableParameters));
61
62 return ds.takeData();
63}
64
65CelestialCoordinate CelestialParameters::coordinate() const {
66 return m_coordinate;

Callers

nothing calls this directly

Calls 3

writeMethod · 0.45
takeDataMethod · 0.45

Tested by

no test coverage detected