public void Merge(StatisticsEntry other) { foreach (var kvp in other.m_stats) { Add(kvp.Key, kvp.Value); } }
private StatisticsEntry GetEntryForPlayer(string playerId) { if (!m_playerStats.ContainsKey(playerId)) { m_playerStats[playerId] = new StatisticsEntry(); } return(m_playerStats[playerId]); }