protected override void OnResponse(string data) { if (data == "0") { roomListPanel.LoadRoomItem(null); return; } string[] roomOwnerArray = data.Split('|'); List <UserData> useDataList = roomOwnerArray.//"(1,siki,0,0),(2,zjd,0,0)" Select(userDataStr => userDataStr.Split(',')). Select(userDataArray => new UserData(int.Parse(userDataArray[0]), userDataArray[1], int.Parse(userDataArray[2]), int.Parse(userDataArray[3]))). ToList(); roomListPanel.LoadRoomItem(useDataList); }