Beispiel #1
0
 public void LoginNewUse()
 {
     if (socketList.Count >= 4)
     {
         remarkText.text = LocalizationManager.GetInstance.GetValue("KEY.20016");
     }
     else
     {
         SocketForDebugPanel tempsocket = new SocketForDebugPanel();
         tempsocket.LoginCallBack_debug += LoginCallBack;
         socketList.Add(tempsocket);
         tempsocket.sendMsg(new LoginRequest(null));
     }
 }
Beispiel #2
0
 public void loginNewUse()
 {
     if (socketList.Count >= 4)
     {
         remarkText.text = "已经有4个连接了";
     }
     else
     {
         SocketForDebugPanel tempsocket = new SocketForDebugPanel();
         tempsocket.LoginCallBack_debug += loginCallBack;
         socketList.Add(tempsocket);
         tempsocket.sendMsg(new LoginRequest(null));
     }
 }