| 147 | |
| 148 | template <typename BaseMap> |
| 149 | void NetElementMapWrapper<BaseMap>::tickNetInterpolation(float dt) { |
| 150 | for (auto& p : m_pendingChangeData) |
| 151 | p.first -= dt; |
| 152 | |
| 153 | while (!m_pendingChangeData.empty() && m_pendingChangeData.first().first <= 0.0f) |
| 154 | applyChange(m_pendingChangeData.takeFirst().second); |
| 155 | } |
| 156 | |
| 157 | template <typename BaseMap> |
| 158 | void NetElementMapWrapper<BaseMap>::netStore(DataStream& ds, NetCompatibilityRules rules) const { |