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

Method writeUpdate

source/game/StarSky.cpp:69–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69pair<ByteArray, uint64_t> Sky::writeUpdate(uint64_t fromVersion, NetCompatibilityRules rules) {
70 return m_netGroup.writeNetState(fromVersion, rules);
71}
72
73void Sky::readUpdate(ByteArray data, NetCompatibilityRules rules) {
74 m_netGroup.readNetState(std::move(data), 0.0f, rules);

Callers 4

updateMethod · 0.45
addClientMethod · 0.45
queueUpdatePacketsMethod · 0.45

Calls 1

writeNetStateMethod · 0.45

Tested by

no test coverage detected