using MessagePack; using OECS; namespace Game.CardWars; /// /// Relationship from a card entity to the player who holds it in hand. /// Added to the card: Source=card, Target=player. /// [MessagePackObject] public record struct HeldBy : IRelationship { [Key(0)] public Entity Source { get; set; } [Key(1)] public Entity Target { get; set; } }