diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index b8720f2..da9204a 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -1375,4 +1375,9 @@ option optimize_for = SPEED; optional int32 startTime = 3;// 0:表示建筑未在升级中,其他数字反之 optional string heroId = 4;// 0:表示没有英雄在特训,其他数字再反之 optional int32 heroStartTime = 5;// 0:表示没有英雄在特训,其他数字反之 + } + + message TrainingUnlockSkillHeroItem{ + optional int32 type = 1;//类型 1:英雄 2:道具 + optional string id = 2;//英雄或道具id } \ No newline at end of file diff --git a/protos/HeroInfoProto.proto b/protos/HeroInfoProto.proto index 920d344..76637ce 100644 --- a/protos/HeroInfoProto.proto +++ b/protos/HeroInfoProto.proto @@ -687,7 +687,7 @@ message TrainingUnlockSkillRequest { optional int32 unlockId = 2;//解锁技能列id,表train repeated string pokemonIds = 3;// 解锁消耗的灵兽id列表 repeated string magicSoldierIds = 4;// 解锁消耗的神兵id列表 - repeated string consumeHeroIds = 5;// 解锁消耗的英雄id列表 + repeated TrainingUnlockSkillHeroItem consumeHeroIds = 5;// 解锁消耗的英雄id列表 optional Item incarnationCards = 6;// 消耗的化身卡道具列表 optional Item playerGifts = 7;// 消耗的主角礼物道具列表 }