LobbyServer/LobbyServerDto/LobbyRequestHostInfo.cs

21 lines
529 B
C#

using System.ComponentModel.DataAnnotations;
namespace LobbyServerDto
{
/// <summary>
/// Request the host address for a lobby
/// </summary>
[LobbyMessage]
public partial class LobbyRequestHostInfo
{
/// <summary>
/// Id of the lobby
/// </summary>
public Guid LobbyId { get; set; }
/// <summary>
/// Hash of the password if the lobby requires one
/// </summary>
[MaxLength(26)]
public byte[]? PasswordHash { get; set; }
}
}