LobbyServer/LobbyServerDto/LobbyUpdate.cs

17 lines
505 B
C#

using System.ComponentModel.DataAnnotations;
namespace LobbyServerDto
{
[LobbyMessage]
public partial class LobbyUpdate
{
public string Name { get; set; } = string.Empty;
public int GameMode { get; set; }
public int PlayerCount { get; set; }
public int MaxPlayerCount { get; set; }
public byte[]? PasswordHash { get; set; }
[MaxLength(32)]
public string? HostIp { get; set; }
public int HostPort { get; set; }
}
}