From fa81ab9d07ac171f05bdced2aff3b98f1248df46 Mon Sep 17 00:00:00 2001 From: lvxinran Date: Thu, 4 Jul 2019 17:39:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=BE=E8=8B=B1=E5=89=AF=E6=9C=AC=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=8D=8F=E8=AE=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/MapInfoProto.proto | 13 ++++++++++--- protos/MessageTypeProto.proto | 4 ++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/protos/MapInfoProto.proto b/protos/MapInfoProto.proto index c0e55ec..ed1686a 100644 --- a/protos/MapInfoProto.proto +++ b/protos/MapInfoProto.proto @@ -9,6 +9,12 @@ import "CommonProto.proto"; optional int32 heroHp = 2; optional int32 heroMaxHp =3; } + message DifficultMapOption { + //副本Id + optional int32 Id = 1; + //难度类型 + optional int32 mapdifficulty = 2; + } message TowerBuff { // 层数 @@ -156,7 +162,7 @@ import "CommonProto.proto"; //已经玩过普通副本地图id repeated int32 playedGenMapId = 5; //精英关卡选择情况 - repeated int32 difficultMapOptions = 6; + repeated DifficultMapOption difficultMapOptions = 6; } // 查看排行榜 @@ -222,10 +228,11 @@ import "CommonProto.proto"; // 奖励 optional Drop drop = 2; } - //精英副本 message DifficultMapRequest{ //需要存储的mapid - optional int32 mapId = 1; + optional DifficultMapOption mapInfo = 1; } + + diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 18087a5..453ac73 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -84,6 +84,10 @@ enum MessageType{ DEL_FRIEND_REQUEST = 10302; //删除好友 DEL_FRIEND_RESPONSE = 10303; + + DIFFICULT_MAP_OPTION_RECORD_REQUEST = 10304;//精英副本选择记录 + DIFFICULT_MAP_OPTION_RECORD_RESPONSE = 10305; + // E 10400 ERROR_CODE_INDICATION = 10400;