diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 35cb218..0a90f09 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -679,12 +679,6 @@ option optimize_for = SPEED; optional string heroId = 1; optional int32 lostBlood = 2;//已损失血量百分比 } - //无尽副本信息 - message EndlessInfo{ - optional int32 mapId = 1; - optional int32 worldLevel = 2; - optional int32 bloodScore = 3; - } message PlayerBindPhone{ optional string phoneNum = 1; diff --git a/protos/MapInfoProto.proto b/protos/MapInfoProto.proto index 1852788..2192292 100644 --- a/protos/MapInfoProto.proto +++ b/protos/MapInfoProto.proto @@ -419,3 +419,23 @@ import "CommonProto.proto"; message DemonsTrialRewardResponse{ optional Drop drop = 3;//奖励 } + message EndlessTreasureRewardState{ + optional int32 id =1;//任务id + optional int32 state = 2;//状态 0 未领取 1 已领取 -1 完美领取(充钱领取过的) + } + + + message EndlessTreasureInfoResponse{ + optional int32 score =1 ; + repeated EndlessTreasureRewardState treasureRewardState=2; + optional int32 resetTime = 3; + optional int32 isBuy = 4;//是否购买了激活礼包 + } + + message EndlessTakeTreasureRequest{ + optional int32 id = 1; // 领取奖励id -1表示点击全部领取 + } + + message EndlessTakeTreasureResponse{ + optional Drop drop =1; + } diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 1fde5ec..1a549ce 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -246,6 +246,12 @@ enum MessageType{ ESPECIAL_EQUIP_BACK_RESPONSE = 10431; ENDLESS_NEW_HERO_GET_INDICATION = 10432;//无尽副本获得新英雄推送 + + ENDLESS_TREASURE_INFO_REQUEST = 10433;//无尽秘宝获取信息 + ENDLESS_TREASURE_INFO_RESPONSE = 10434; + + ENDLESS_TAKE_REWARD_REQUEST = 10435;//无尽秘宝领取奖励 + ENDLESS_TAKE_REWARD_RESPONSE = 10436; // F 10500 FIGHT_START_REQUEST = 10500; //