mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
optimize player history retrieval
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SharedLibraryCore.Dtos
|
||||
{
|
||||
@ -11,11 +12,17 @@ namespace SharedLibraryCore.Dtos
|
||||
|
||||
public class ClientCountSnapshot
|
||||
{
|
||||
[JsonIgnore]
|
||||
public DateTime Time { get; set; }
|
||||
[JsonPropertyName("ts")]
|
||||
public string TimeString => Time.ToString("yyyy-MM-ddTHH:mm:ssZ");
|
||||
[JsonPropertyName("cc")]
|
||||
public int ClientCount { get; set; }
|
||||
[JsonPropertyName("ci")]
|
||||
public bool ConnectionInterrupted { get;set; }
|
||||
[JsonIgnore]
|
||||
public string Map { get; set; }
|
||||
[JsonPropertyName("ma")]
|
||||
public string MapAlias { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user