using System.ComponentModel.DataAnnotations; using System.Net; namespace LobbyServerDto { /// /// Send to client upon request, this contains the connection info supplied by the host. /// [LobbyMessage] public partial class LobbyHostInfo { /// /// Lobby id this information is for /// public Guid LobbyId { get; set; } /// /// The hosts ip addresses locally detected. Used the the host information send to clients on their request. /// [MaxLength(32)] public IPAddress[]? HostIps { get; set; } /// /// The hosts port /// public int HostPort { get; set; } /// /// The hosts echo port to try if a connection is possible. /// public int HostTryPort { get; set; } } }