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;