using System.ComponentModel.DataAnnotations;
namespace LobbyServerDto
{
///
/// Send from host to lobby server and releyed to the client by lobby server if the nat punch is finished.
///
[LobbyMessage]
public partial class LobbyNatPunchDone
{
///
/// The lobby this nat punch was for
///
public Guid LobbyId { get; set; }
///
/// Id of the nat punch that the lobby server requested from us in
///
public int NatPunchId { get; set; }
///
/// The external ip of the host
///
[MaxLength(32)]
public string? ExternalIp { get; set; }
///
/// The external port of the host
///
public int ExternalPort { get; set; }
}
}