23 lines
569 B
C#
23 lines
569 B
C#
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace LobbyServerDto
|
|
{
|
|
/// <summary>
|
|
/// The ip and port seen by the lobby udp server by an <see cref="QueryExternalPortAndIp"/> request.
|
|
/// </summary>
|
|
[LobbyMessage]
|
|
public partial class SeenExternalIpAndPort
|
|
{
|
|
/// <summary>
|
|
/// The seen ip of the client
|
|
/// </summary>
|
|
[MaxLength(32)]
|
|
public string? Ip { get; set; }
|
|
/// <summary>
|
|
/// The seen port of the client
|
|
/// </summary>
|
|
public int Port { get; set; }
|
|
}
|
|
}
|