// 创建房间 public void OnCreateRoomRespond(MFRespondHeader header, MFCreateRoomRespond data) { if (header.result == 0) { MFPrepareRoomView.Open(data.roomNumber, data.roomOwner, data.playerCount, data.userList); } }
public void OnJoinRoomRespond(MFRespondHeader header, MFJoinRoomRespond data) { MFPrepareRoomView.Open(data.roomNumber, data.roomOwner, data.playerCount, data.userList); }