diff --git a/protos/MapInfoProto.proto b/protos/MapInfoProto.proto index a4fcd2a..340020f 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 TrialHeroInfo{ + optional string heroId = 1;//动态Id + optional int32 tmpId = 2;//英雄模板id + optional int32 star = 3; + optional int32 heroHp = 4;//剩余血量 + } message DifficultMapOption { //副本Id optional int32 Id = 1; @@ -60,6 +66,10 @@ import "CommonProto.proto"; repeated EndlessRefreshInfo refreshInfo = 14; //无尽副本是否跳过战斗 optional int32 skipFight = 15; + + repeated TrialHeroInfo infos = 16;//阵容信息 + + optional string curHero = 17;//试炼副本当前上阵英雄 } @@ -303,3 +313,7 @@ import "CommonProto.proto"; optional int32 mapId = 1; optional int32 worldLevel = 2; } + + message TrialHeroInfoSaveRequest{ + repeated string heroIds = 1;//保存上阵英雄 + } diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 5155e8d..3cc1d4d 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -797,6 +797,8 @@ enum MessageType{ TREASURE_REFRESH_TIME_REQUEST = 11918;//戒灵秘宝刷新时间获取 TREASURE_REFRESH_TIME_RESPONSE = 11919; + TRIAL_HERO_INFO_SAVE_REQUEST = 11920;//试炼保存阵容 + TRIAL_HERO_INFO_SAVE_RESPONSE = 11921; // U 12000 UP_HERO_LEVEL_REQUEST = 12000; // 升级或突破