Refactored to store entities by entity ids

Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
This commit is contained in:
AMZN-Olex
2021-07-26 23:45:09 -04:00
parent a2f3066fa3
commit 59f65f2656
4 changed files with 23 additions and 32 deletions
@@ -42,10 +42,10 @@ namespace MultiplayerDiagnostics
private:
AZStd::map<AZStd::string, EntityReporter> m_sendingEntityReports{};
AZStd::map<AZ::EntityId, EntityReporter> m_sendingEntityReports{};
EntityReporter m_currentSendingEntityReport;
AZStd::map<AZStd::string, EntityReporter> m_receivingEntityReports{};
AZStd::map<AZ::EntityId, EntityReporter> m_receivingEntityReports{};
EntityReporter m_currentReceivingEntityReport;
float m_replicatedStateKbpsWarn = 10.f;