using System.Net.WebSockets; namespace MauMau_Server.Mau; public class Player { public string Name { get; set; } public string PlayerId { get; set; } public WebSocket Socket { get; set; } public List Hand { get; set; } = new(); public Player(string name, string playerId, WebSocket socket) { Name = name; PlayerId = playerId; Socket = socket; } public bool IsMe(string playerId) => PlayerId == playerId; }