This commit is contained in:
2026-07-21 05:13:43 +08:00
parent a5e9edcf6e
commit ac7b0d1679
8 changed files with 72 additions and 24 deletions
@@ -217,6 +217,25 @@ namespace Assets.MyGame.Scripts.Net
UIManager.Instance.ShowBoardError($"[WebSocket] {type} 未连接,无法发送消息");
#endif
switch (type)
{
case SocketType.login:
break;
case SocketType.room:
break;
case SocketType.game:
//等待界面添加
UIManager.Instance.ShowAsync(UIPanel.HomeMainPanel, GameManager.Instance.gameData.currGameType);
UIManager.Instance.ShowBoardGongGao("网络异常,请重新进入房间");
break;
case SocketType.chess:
break;
case SocketType.customer:
break;
default:
break;
}
}
}