From de0d1e6934998699ceca5c10679d2e09250e77e2 Mon Sep 17 00:00:00 2001 From: lvxinran Date: Mon, 2 Sep 2019 16:26:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=95=E5=AE=9D=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 | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 93bb830..8ee2094 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -77,10 +77,11 @@ option optimize_for = SPEED; repeated int32 skillIdList = 7; repeated string equipIdList = 8; - + optional int32 createTime = 9; //入手时间 optional int32 starBreakId = 10 ;//升星对应的breakId - + + repeated string especialEquip = 11;//所穿戴法宝 } message FightUnitInfo { diff --git a/protos/HeroInfoProto.proto b/protos/HeroInfoProto.proto index ee099fb..ddd6062 100644 --- a/protos/HeroInfoProto.proto +++ b/protos/HeroInfoProto.proto @@ -62,11 +62,14 @@ import "CommonProto.proto"; message EquipWearRequest{ optional string heroId =1 ; //所穿英雄id repeated string equipId =2 ; //装备id + optional int32 type = 3;//1、装备 ;2、法宝 } message EquipUnLoadOptRequest{ optional string heroId = 1; repeated string equipIds =2; + optional int32 type = 3;//1、装备 ;2、法宝 + } message HeroComposeRequest{ optional Item item = 1; //合成英雄需要用的碎片,和合成英雄的个数 @@ -76,6 +79,8 @@ import "CommonProto.proto"; } message GetAllEquipRequest{ optional int32 index = 1; //第一次请求索引为0, 第二次:第一次索引+每页的数量 + optional int32 type = 2;//1、装备 ;2、法宝 + } message GetAllEquipResponse{ repeated Equip equip =1;