This commit is contained in:
2026-07-05 16:07:22 +08:00
parent e4fae4dbc8
commit 6decb0b937
13 changed files with 473 additions and 95 deletions
@@ -65,7 +65,7 @@ namespace Assets.MyGame.Scripts.Net
case SocketType.login:
break;
case SocketType.room:
//WebSocketSendList.JoinRoom("11109", GameManager.Instance.user.id, 1);
WebSocketSendList.JoinRoom("11109", GameManager.Instance.user.id, 1);
break;
case SocketType.game:
break;
@@ -77,7 +77,8 @@ namespace Assets.MyGame.Scripts.Net
default:
break;
}
if (action != null)
action?.Invoke();
return exist;
}
}