试炼阵容相关协议

master_huanxiang
lvxinran 2020-05-26 16:28:24 +08:00
parent eefc8482f5
commit 214bb42f80
2 changed files with 16 additions and 0 deletions

View File

@ -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;//保存上阵英雄
}

View File

@ -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; // 升级或突破