using MessagePack;
namespace Game.CardWars;
///
/// Instance data for a card that has been played to the field.
/// Cards in hand/deck only have CardDef; this is added when played.
///
[MessagePackObject]
public record struct Card
{
/// The rank chosen for this play (one of CardDef.Ranks).
[Key(0)] public int Rank;
/// Whether the card is face-down on the field.
[Key(1)] public bool FaceDown;
}