| 1092 | } |
| 1093 | |
| 1094 | void NetworkedAnimator::netElementsNeedLoad(bool initial) { |
| 1095 | for (auto& pair : m_stateInfo) { |
| 1096 | if (pair.second.startedEvent.pullOccurred() || initial) |
| 1097 | m_animatedParts.setActiveStateIndex(pair.first, pair.second.stateIndex.get(), true); |
| 1098 | } |
| 1099 | |
| 1100 | for (auto& pair : m_rotationGroups) { |
| 1101 | if (pair.second.netImmediateEvent.pullOccurred() || initial) |
| 1102 | pair.second.currentAngle = pair.second.targetAngle.get(); |
| 1103 | } |
| 1104 | } |
| 1105 | |
| 1106 | void NetworkedAnimator::netElementsNeedStore() { |
| 1107 | for (auto& pair : m_stateInfo) |
nothing calls this directly
no test coverage detected