FurinaImpact/FurinaImpact.Gameserver/Options/GatewayOptions.cs

13 lines
304 B
C#
Raw Normal View History

2023-12-09 03:45:08 +00:00
using System.Net;
namespace FurinaImpact.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);
}