From 53ed787c69c07bd8fb92111418ad1dba6b867d4f Mon Sep 17 00:00:00 2001 From: duhui Date: Wed, 30 Jun 2021 10:22:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=8A=BD=E5=8D=A1=E6=AC=A1?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 6 ++++++ protos/HeroInfoProto.proto | 2 +- protos/PlayerInfoProto.proto | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 77929dc..62bfcbf 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -996,4 +996,10 @@ option optimize_for = SPEED; optional int32 id = 1;//序列id optional int32 heroTid = 2;//英雄模板id optional int32 status = 3;//状态 0:未锁 1:锁定 + } + + // 抽卡类型次数 + message randomTypeNum{ + optional int32 type = 1;//招募类型 + optional int32 num = 2;//数量 } \ No newline at end of file diff --git a/protos/HeroInfoProto.proto b/protos/HeroInfoProto.proto index 089d607..d15a5f2 100644 --- a/protos/HeroInfoProto.proto +++ b/protos/HeroInfoProto.proto @@ -41,7 +41,7 @@ import "CommonProto.proto"; optional Drop drop =1 ; optional Drop extraBox = 2 ;//宝箱奖励 optional int32 mustCount = 3;//剩余必出次数 - + repeated randomTypeNum drawTimes = 4;//类型抽卡次数 } message TeamposSaveRequest{ diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 0eda088..cbe004c 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -82,7 +82,7 @@ import "CommonProto.proto"; optional int32 practiceLevel = 41;//修行等级 repeated PurpleMansionSeal sealList = 42;//神印列表 optional int32 randomCount = 43;//抽卡剩余必出 - optional int32 drawTimes = 44;//钻石抽总次数 + repeated randomTypeNum drawTimes = 44;//类型抽卡总次数 }