using System; using System.Text.Json.Serialization; namespace Stats.Dtos { public class StatsInfoResult { /// /// ranking on the server /// public int Ranking { get; set; } /// /// number of kills /// public int Kills { get; set; } /// /// number of deaths /// public int Deaths { get; set; } /// /// performance level (elo rating + skill) / 2 /// public double Performance { get; set; } /// /// SPM /// public double ScorePerMinute { get; set; } /// /// last connection /// public DateTime LastPlayed { get; set; } /// /// how many seconds played on the server /// public double TotalSecondsPlayed { get; set; } /// /// name of the server /// public string ServerName { get; set; } /// /// server game /// public string ServerGame { get; set; } [JsonIgnore] public long ServerId { get; set; } } }