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

Method netStore

source/core/StarNetElementGroup.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void NetElementGroup::netStore(DataStream& ds, NetCompatibilityRules rules) const {
25 if (!checkWithRules(rules)) return;
26 for (auto& p : m_elements)
27 if (p.first->checkWithRules(rules))
28 p.first->netStore(ds, rules);
29}
30
31void NetElementGroup::netLoad(DataStream& ds, NetCompatibilityRules rules) {
32 if (!checkWithRules(rules)) return;

Callers

nothing calls this directly

Calls 1

checkWithRulesMethod · 0.80

Tested by

no test coverage detected