//创建房间成功 public void CreateRoomSuc(SockCreatRoomResponse resp) { m_dicRoomList.Clear(); SockRoomInfo room = new SockRoomInfo(); room.roomId = resp.data.room.roomId; room.joinState = 1; room.roomMaxMemberNum = resp.data.room.roomMaxMemberNum; room.nowRoomMemberNum = resp.data.room.nowRoomMemberNum; room.masterName = Core.Data.playerManager.RTData.nickName; room.masterLevel = Core.Data.playerManager.RTData.curLevel; m_dicRoomList.Add(resp.data.room.roomId, room); curRoom = resp.data; }
public void CreateRoomSuc(SockCreatRoomResponse resp) { m_operateUI.UpdateUI(); }