IW4M-Admin/WebfrontCore/ViewModels/ScoreboardInfo.cs

30 lines
955 B
C#
Raw Normal View History

2022-01-22 13:49:12 -05:00
using System.Collections.Generic;
using SharedLibraryCore.Database.Models;
2022-01-22 13:49:12 -05:00
namespace WebfrontCore.ViewModels
{
public class ScoreboardInfo
{
2022-04-19 19:43:58 -04:00
public string ServerName { get; set; }
public string ServerId { get; set; }
public string MapName { get; set; }
public string OrderByKey { get; set; }
public bool ShouldOrderDescending { get; set; }
public List<ClientScoreboardInfo> ClientInfo { get; set; }
2022-01-22 13:49:12 -05:00
}
2022-04-19 19:43:58 -04:00
2022-01-22 13:49:12 -05:00
public class ClientScoreboardInfo
{
public string ClientName { get; set; }
public long ClientId { get; set; }
public int Score { get; set; }
public int Ping { get; set; }
public int? Kills { get; set; }
public int? Deaths { get; set; }
public double? ScorePerMinute { get; set; }
public double? Kdr { get; set; }
2022-01-24 10:56:48 -05:00
public double? ZScore { get; set; }
public EFClient.TeamType Team { get; set; }
2022-01-22 13:49:12 -05:00
}
}