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

Method getNetStates

source/game/objects/StarContainerObject.cpp:394–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394void ContainerObject::getNetStates(bool initial) {
395 Object::getNetStates(initial);
396 if (m_itemsNetState.pullUpdated()) {
397 DataStreamBuffer ds(m_itemsNetState.get());
398 m_items->read(ds);
399 itemsUpdated();
400 }
401}
402
403void ContainerObject::setNetStates() {
404 Object::setNetStates();

Callers

nothing calls this directly

Calls 3

pullUpdatedMethod · 0.45
getMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected