From 57ce524e262fdb8f233062f2df6645e22effbe5a Mon Sep 17 00:00:00 2001 From: xuexinpeng Date: Thu, 28 Oct 2021 15:05:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=A8=E5=8D=A1=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 8 ++++++++ protos/MessageTypeProto.proto | 7 +++++++ protos/PlayerInfoProto.proto | 17 +++++++++++++++++ 3 files changed, 32 insertions(+) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 637671f..6d57321 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -1145,4 +1145,12 @@ option optimize_for = SPEED; optional int32 skillId = 1;//技能id optional int32 skillLv = 2;//技能等级 } + + //周卡 + message WeekCard{ + optional int32 id = 1; //周卡id + optional bool isBuy = 2; + optional int32 leaveGetRewardDays = 3; //还可以领取了几天奖励 + } + diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index a3f7a87..7af33b1 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -1344,6 +1344,13 @@ enum MessageType{ // 御剑飞行:信息,奖励,竞猜统一返回 RidingSwardInfoResponse = 3050017; + + //周卡 + WeekCardInfoRequest = 3050030; + WeekCardInfoResponse = 3050031; + + WeekCardRewardRequest = 3050032; + WeekCardRewardResponse = 3050033; //800000起为global 协议 diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 3d9fe93..ac0b0da 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -1043,4 +1043,21 @@ import "CommonProto.proto"; repeated int32 relicIds = 5;//遗物加成id列表 optional int32 round = 6;//回合数,计算加成 } + + //周卡 + message WeekCardInfoRequest{ + + } + message WeekCardInfoResponse{ + repeated WeekCard allWeekCardInfo = 1; + } + + message WeekCardRewardRequest{ + optional int32 id = 1; //周卡id + } + message WeekCardRewardResponse{ + optional Drop drop = 1; + } + + \ No newline at end of file