diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 8b28d4c..1c48fa7 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -1276,3 +1276,15 @@ option optimize_for = SPEED; optional int32 itemId = 1;//命石id optional int32 costNum = 2;//消耗数量 } + + + // 周卡信息 + message WeekCardInfo{ + optional int32 weekcardId = 1;//周卡id + repeated WeekCardDay day = 2;//每天状态 + } + + message WeekCardDay{ + optional int32 day = 1;//天数 + optional int32 state = 2;//领取状态。0:未解锁,1:可领取,2:已领取 + } \ No newline at end of file diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index d05f7d3..81bde3d 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -1452,9 +1452,14 @@ enum MessageType{ UpGodSealRequest = 3050062; UpGodSealResponse = 3050063; + // 周卡 + QueryWeekCardInfoRequest = 3050070; + QueryWeekCardInfoResponse = 3050071; + GetWeekCardRewardRequest = 3050072; + GetWeekCardRewardResponse = 3050073; - + WeekCardInfoIndication = 3050074; //800000起为global 协议 diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 5ea2223..88b034c 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -1195,4 +1195,28 @@ import "CommonProto.proto"; // 建筑解锁推送 message ArchitectureUnlockIndication{ repeated ArchitectureInfo infos = 1; + } + + // 查询周卡信息 + message QueryWeekCardInfoRequest{ + optional int32 activiteId = 1; + } + + message QueryWeekCardInfoResponse{ + repeated WeekCardInfo weekcard = 1;// 周卡信息 + } + + // 领取周卡奖励 + message GetWeekCardRewardRequest{ + optional int32 weekcardId = 1; + optional int32 day = 2; + } + + message GetWeekCardRewardResponse{ + optional Drop drop = 1; + } + + // 周卡信息推送 + message WeekCardInfoIndication{ + optional WeekCardInfo weekcard = 1;// 周卡信息 } \ No newline at end of file