oecs-sharp/Game.TicTacToe/Components/Mark.cs

14 lines
252 B
C#

using MessagePack;
namespace Game.TicTacToe;
/// <summary>
/// A mark placed on a cell by a player.
/// Only present on cells that have been claimed.
/// </summary>
[MessagePackObject]
public record struct Mark
{
[Key(0)] public Player Player;
}