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

Method netStore

source/game/StarSystemWorld.cpp:464–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464ByteArray SystemObject::netStore() const {
465 DataStreamBuffer ds;
466 ds.write(m_uuid);
467 ds.write(m_config.name);
468 ds.write(position());
469 ds.write(m_parameters);
470 return ds.takeData();
471}
472
473Json SystemObject::diskStore() const {
474 JsonObject store;

Callers

nothing calls this directly

Calls 3

writeMethod · 0.45
takeDataMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected