yuanshen/Yuanshen.Gameserver/Options/GatewayOptions.cs
wisedev 61cc2055cf First working version of the server
KCP gameserver with packet dispatch, scene streaming, combat, gacha and the
shop, plus a small HTTP server for the login flow and the wish history page.

Game data under assets is pulled out of the client instead of being typed by
hand. The excel tables come from the packed bin container and the spawn points
from the compiled scene scripts.
2026-09-04 02:06:53 +03:00

13 lines
298 B
C#

using System.Net;
namespace Yuanshen.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);
}