| 611 | } |
| 612 | |
| 613 | void ToolUser::NetItem::netStore(DataStream& ds, NetCompatibilityRules rules) const { |
| 614 | if (!checkWithRules(rules)) return; |
| 615 | const_cast<NetItem*>(this)->updateItemDescriptor(); |
| 616 | m_itemDescriptor.netStore(ds, rules); |
| 617 | if (auto netItem = as<NetElement>(m_item.get())) |
| 618 | netItem->netStore(ds, rules); |
| 619 | } |
| 620 | |
| 621 | void ToolUser::NetItem::netLoad(DataStream& ds, NetCompatibilityRules rules) { |
| 622 | if (!checkWithRules(rules)) return; |
no test coverage detected