NahidaImpact/NahidaImpact.Gameserver/Options/GatewayOptions.cs

13 lines
304 B
C#
Raw Normal View History

2024-01-04 13:48:39 +00:00
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);
}