incomplete sdk server + inferred server address

This commit is contained in:
rfi
2024-02-19 11:31:35 +07:00
parent 7445a1f5d8
commit 5e8f90b2e9
12 changed files with 193 additions and 6 deletions

View File

@@ -18,7 +18,6 @@ namespace BLHX.Server.Game
readonly CancellationTokenSource cts = new();
readonly Task loopTask;
ushort packetIdx = 0;
public static JsonSerializerOptions jsonSerializerOptions = new() { IncludeFields = true };
private ushort NextPacketIdx => packetIdx++;
public IPEndPoint EndPoint => (IPEndPoint)tcpClient.Client.RemoteEndPoint!;