private void OnRoomCreated(Packet packet) { GList list = this._root["list"].asList; GComponent item = list.AddItemFromPoolAt(0).asCom; _DTO_room_info roomDTO = (( _PACKET_HALL_ACMD_BRO_ROOM_CREATED )packet).dto; item["id"].asTextField.text = string.Empty + roomDTO.roomId; item["name"].asTextField.text = roomDTO.name; item.data = roomDTO; }