From 6718d2be662db7d38114061b8991d2013367421d Mon Sep 17 00:00:00 2001 From: wangyuan Date: Fri, 6 Sep 2019 10:38:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=A8=E6=9C=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 1 + protos/MessageTypeProto.proto | 5 +++++ protos/RoomProto.proto | 9 +++++++++ 3 files changed, 15 insertions(+) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 089c886..f795653 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -33,6 +33,7 @@ option optimize_for = SPEED; optional int32 isMatchRoom = 16; //是否在请求匹配 optional int32 curRoomType = 17 ;//当前房间类型(0不在房间里 1血战) optional int32 headFrame = 18;//当前头像框 + optional string roomAddreess = 19 ; // 房间地址信息(空 代表未匹配 “1”代表匹配中,其他是房间服务器地址信息(ip+“:” + port)形式) } message Privilege{ diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 0ecd238..dac2ccc 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -505,6 +505,11 @@ enum MessageType{ REFRESH_ITEM_NUM_REQUEST = 11737; //刷新道具数量 REFRESH_ITEM_NUM_RESPONSE = 11738; + + ROOM_ADDRESS_INDICATION = 11739; // 房间地址信息 + + ROOM_LOGIN_REQEUST = 11740; // 登录房间 + ROOM_LOGIN_RESPONSE = 11750; // S 11800 SUCCESS_RESPONSE = 11800; // 通用成功回复 diff --git a/protos/RoomProto.proto b/protos/RoomProto.proto index bca4d1e..7232a27 100644 --- a/protos/RoomProto.proto +++ b/protos/RoomProto.proto @@ -67,4 +67,13 @@ import "CommonProto.proto"; repeated BloodPersonInfo infos = 1; } + message RoomAddressIndication{ + optional string address = 1 ;// 房间地址信息 + optional int32 type = 2; //type 匹配游戏类型 1血战 + } + + message RoomLoginResponse{ + optional RoomMatchSuccessIndication roomMatchSuccessIndication =1; + } + \ No newline at end of file