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

Method writeUpdate

source/game/StarWeather.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58pair<ByteArray, uint64_t> ServerWeather::writeUpdate(uint64_t fromVersion, NetCompatibilityRules rules) {
59 setNetStates();
60 return m_netGroup.writeNetState(fromVersion, rules);
61}
62
63void ServerWeather::update(double dt) {
64 spawnWeatherProjectiles(dt);

Callers

nothing calls this directly

Calls 1

writeNetStateMethod · 0.45

Tested by

no test coverage detected