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