Code/Entities/Social/CrossTable.cs

A simple data model representing a cross table of game results between two players. It stores total games, a dictionary of scores keyed by string, and an optional current matchup.

File Access
#nullable enable annotations

namespace LichessNET.Entities.Social;

/// <summary>
/// Represents a cross table that summarizes the results of games between two players.
/// </summary>
public class CrossTable
{
    public int TotalGames { get; set; }
    public Dictionary<string, double> Scores { get; set; }
    public Matchup? CurrentMatchup { get; set; }
}