using System.ComponentModel.DataAnnotations; namespace LobbyServerDto { /// /// Request a nat punch from the game host /// [LobbyMessage] public partial class LobbyRequestNatPunch { /// /// Id of the lobby /// public Guid LobbyId { get; set; } /// /// Password hash if the lobby is password protected /// [MaxLength(26)] public byte[]? PasswordHash { get; set; } /// /// Our external ip /// public string? ClientIp { get; set; } /// /// Our external port /// public int ClientPort { get; set; } /// /// Set by the lobby server, this will be the NatPunchId send to the host /// public int NatPunchId { get; set; } } }