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

Method initNetVersion

source/core/StarNetElementGroup.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void NetElementGroup::initNetVersion(NetElementVersion const* version) {
19 m_version = version;
20 for (auto& p : m_elements)
21 p.first->initNetVersion(m_version);
22}
23
24void NetElementGroup::netStore(DataStream& ds, NetCompatibilityRules rules) const {
25 if (!checkWithRules(rules)) return;

Callers 1

addNetElementMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected