1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

add server scoreboard functionality

This commit is contained in:
RaidMax
2022-01-22 12:49:12 -06:00
parent a6292adf4b
commit 6458aee2ee
34 changed files with 278 additions and 100 deletions

View File

@ -0,0 +1,25 @@
using System.Collections.Generic;
namespace WebfrontCore.ViewModels
{
public class ScoreboardInfo
{
public string ServerName { get; set; }
public long ServerId { get; set; }
public string MapName { get; set; }
public List<ClientScoreboardInfo> ClientInfo { get; set; }
}
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; }
}
}