- add: some info

This commit is contained in:
2024-12-23 20:45:34 +03:00
parent fd347a4fc8
commit 4ba2a5e2b8
3 changed files with 114 additions and 49 deletions

View File

@@ -45,10 +45,15 @@ public sealed record ServerStatus(
List<string> Tags,
string Preset,
int Players,
[property: JsonPropertyName("round_id")]
int RoundId,
[property: JsonPropertyName("run_level")]
int RunLevel,
[property: JsonPropertyName("panic_bunker")]
bool PanicBunker,
[property: JsonPropertyName("round_start_time")]
DateTime? RoundStartTime,
[property: JsonPropertyName("soft_max_players")]
int SoftMaxPlayers);
public sealed record ModulesInfo(Dictionary<string, Module> Modules);