NahidaImpact/NahidaImpact.Gameserver/Options/GatewayOptions.cs
2024-01-04 16:48:39 +03:00

12 lines
304 B
C#

using System.Net;
namespace NahidaImpact.Gameserver.Options;
internal record GatewayOptions
{
public const string Section = "Gateway";
public required string Host { get; set; }
public required int Port { get; set; }
public IPEndPoint EndPoint => new(IPAddress.Parse(Host), Port);
}