namespace CommonwealthOnline.Host.ViewModels; public sealed class PlayerRow { public uint PlayerId { get; init; } public string Label { get; init; } = string.Empty; public string Address { get; init; } = string.Empty; public long PacketsReceived { get; init; } public long PacketsSent { get; init; } public string Display => $"#{PlayerId} {(string.IsNullOrEmpty(Label) ? "player" : Label)} {Address} ↓{PacketsReceived} ↑{PacketsSent}"; }