mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
Tile服务器雏形..
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user