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

Method readUpdate

source/game/StarWeather.cpp:266–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266void ClientWeather::readUpdate(ByteArray data, NetCompatibilityRules rules) {
267 if (!data.empty()) {
268 m_netGroup.readNetState(data, 0.0f, rules);
269 getNetStates();
270 }
271}
272
273void ClientWeather::setVisibleRegion(RectI visibleRegion) {
274 m_visibleRegion = visibleRegion;

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
readNetStateMethod · 0.45

Tested by

no test coverage detected