using System.ComponentModel.DataAnnotations; namespace LobbyServerDto { /// /// If the host updates values of the lobby, it can send this request to update the lobby information on the lobby server /// [LobbyMessage] public partial class LobbyUpdate { /// /// The displayname of the lobby /// public string Name { get; set; } = string.Empty; /// /// The game mode of the lobby /// public int GameMode { get; set; } /// /// Current count of players in the lobby /// public int PlayerCount { get; set; } /// /// Max players in the lobby /// public int MaxPlayerCount { get; set; } /// /// The hash of the password required to enter this lobby /// public byte[]? PasswordHash { get; set; } /// /// The salt used to hash the password. /// [MaxLength(16)] public byte[]? PasswordSalt { get; set; } /// /// The hosts ip /// [MaxLength(32)] public string? HostIp { get; set; } /// /// The hosts port /// public int HostPort { get; set; } } }