more temporary handlers

This commit is contained in:
rfi
2024-02-19 06:18:44 +07:00
parent 11382f9d20
commit d2552b74b7
6 changed files with 165 additions and 16 deletions

View File

@@ -13,6 +13,9 @@ namespace BLHX.Server.Game
static GameServer()
{
// Preload
System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(typeof(PacketFactory).TypeHandle);
EndPoint = new(IPAddress.Any, 20000);
listener = new TcpListener(EndPoint);
}