From 440ca3be172d0373bc4fb43bd2f3a8ae0c5684d6 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1769111741@qq.com> Date: Fri, 24 Nov 2023 16:13:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E8=AE=AD=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 5 +++++ protos/HeroInfoProto.proto | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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;// 消耗的主角礼物道具列表 }