14 lines
274 B
C#
14 lines
274 B
C#
|
|
using MessagePack;
|
||
|
|
|
||
|
|
namespace Game.CardWars;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Per-player score tracking.
|
||
|
|
/// </summary>
|
||
|
|
[MessagePackObject]
|
||
|
|
public record struct PlayerScores
|
||
|
|
{
|
||
|
|
[Key(0)] public int[] Scores;
|
||
|
|
[Key(1)] public CastleColor[] WonCastles;
|
||
|
|
[Key(2)] public int Count;
|
||
|
|
}
|