Ajoute l Elo et les statistiques de parties
This commit is contained in:
@@ -45,11 +45,20 @@ public sealed class MatchConfig
|
||||
public sealed class MatchState
|
||||
{
|
||||
[JsonPropertyName("schemaVersion")]
|
||||
public int SchemaVersion { get; set; } = 3;
|
||||
public int SchemaVersion { get; set; } = 4;
|
||||
|
||||
[JsonPropertyName("matchId")]
|
||||
public string MatchId { get; set; } = Guid.NewGuid().ToString("N");
|
||||
|
||||
[JsonPropertyName("collaborationSessionId")]
|
||||
public string? CollaborationSessionId { get; set; }
|
||||
|
||||
[JsonPropertyName("whiteSubject")]
|
||||
public string? WhiteSubject { get; set; }
|
||||
|
||||
[JsonPropertyName("blackSubject")]
|
||||
public string? BlackSubject { get; set; }
|
||||
|
||||
[JsonPropertyName("config")]
|
||||
public MatchConfig Config { get; set; } = new();
|
||||
|
||||
@@ -95,6 +104,9 @@ public sealed class MatchState
|
||||
[JsonPropertyName("result")]
|
||||
public string? Result { get; set; }
|
||||
|
||||
[JsonPropertyName("resultRecordedUtc")]
|
||||
public DateTime? ResultRecordedUtc { get; set; }
|
||||
|
||||
[JsonPropertyName("cube")]
|
||||
public CubeState Cube { get; set; } = new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user