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)); } }
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)); } }