| 221 | |
| 222 | template <typename T> |
| 223 | void NetElementBasicField<T>::netLoad(DataStream& ds, NetCompatibilityRules rules) { |
| 224 | if (!checkWithRules(rules)) return; |
| 225 | readData(ds, m_value); |
| 226 | m_latestUpdateVersion = m_netVersion ? m_netVersion->current() : 0; |
| 227 | updated(); |
| 228 | if (m_pendingInterpolatedValues) |
| 229 | m_pendingInterpolatedValues->clear(); |
| 230 | } |
| 231 | |
| 232 | template <typename T> |
| 233 | bool NetElementBasicField<T>::writeNetDelta(DataStream& ds, uint64_t fromVersion, NetCompatibilityRules rules) const { |