Пример #1
0
 public void UpdateWithGameData(PlayerGameData gameData)
 {
     if (gameData.WonGame)
     {
         TotalGamesWon++;
     }
     else
     {
         TotalGamesLost++;
     }
     TotalRoundsWon     += gameData.RoundsWon;
     TotalRoundsLost    += gameData.RoundsLost;
     TotalKillCount     += gameData.KillCount;
     TotalAssistCount   += gameData.AssistCount;
     TotalDeathCount    += gameData.DeathCount;
     TotalHeadshotCount += gameData.Headshots;
 }