Tile服务器雏形..

This commit is contained in:
PC-20230316NUNE\Administrator
2024-08-19 11:51:17 +08:00
parent 894100ae37
commit a1f2730025
463 changed files with 37502 additions and 27925 deletions

View File

@@ -172,7 +172,7 @@ namespace AppGame.Sync
TileServerInfo info = message.data;
if (info is not null)
{
client.SetPoint(new IPEndPoint(IPAddress.Parse(info.ip),info.port));
client.SetPoint($"{info.ip}:{info.port}");
if (IsTileConnect(index))
{

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
@@ -201,7 +202,7 @@ namespace AppGame.Sync
TileServerInfo info = message.data;
if (info is not null)
{
client.SetPoint(new IPEndPoint(IPAddress.Parse(info.ip),info.port));
client.SetPoint($"{info.ip}:{info.port}");
await client.OnInit();
}
else