From f8bd8b13b48aef2b42bf61416050b52bda75d19b Mon Sep 17 00:00:00 2001 From: lvxinran Date: Sat, 9 May 2020 15:47:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=81=E7=BB=9D=E9=98=B5=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/Family.proto | 24 +++++++++++++++++++++++- protos/MessageTypeProto.proto | 11 ++++++++++- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/protos/Family.proto b/protos/Family.proto index a5d9050..1d905e7 100644 --- a/protos/Family.proto +++ b/protos/Family.proto @@ -428,7 +428,7 @@ import "CommonProto.proto"; } message GetDeathPathStatusResponse{ - optional int32 status = 1;//0未开启;1开启 + optional int32 status = 1;//0未开启;1开启;2 领奖阶段 } message GetDeathPathInfoResponse{ optional int32 overTime = 1;//剩余时间 @@ -448,5 +448,27 @@ import "CommonProto.proto"; message CarGrapRecordResponse{ repeated CarGrapRecordItem carChallengeItem =1; } + + message RewardInfo{ + optional int32 uid = 1; + optional int32 itemId = 2; + optional int32 itemCount = 3; + optional int32 position = 4; + } + message GetAllDeathPathRewardInfoResponse{ + repeated RewardInfo info = 1; + } + message DoRewardDeathPathRequest{ + optional int32 position = 1; + } + message DoRewardDeathPathResponse{ + optional Drop drop = 1; + } + message DeathPathStatusChangeIndication{ + optional int32 status = 1;//0未开启;1开启;2 领奖阶段 + } + message DoRewardIndication{ + optional RewardInfo info = 1; + } diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index da9fcea..96205f5 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -181,7 +181,16 @@ enum MessageType{ DEATH_PATH_CHALLENGE_REQUEST = 10313;//挑战十绝阵 DEATH_PATH_CHALLENGE_RESPONSE = 10314; - + + DEATH_PATH_GET_ALL_REWARD_INFO_REQUEST = 10315;//获取所有宝箱信息 + DEATH_PATH_GET_ALL_REWARD_INFO_RESPONSE = 10316; + + DEATH_PATH_DO_REWARD_REQUEST = 10317;//十绝阵领宝箱 + DEATH_PATH_DO_REWARD_RESPONSE = 10318; + + DEATH_PATH_STATUS_CHANGE_INDICATION = 10319;//十绝阵阶段信息改变推送 + + DEATH_PATH_DO_REWARD_INDICATION = 10320;//十绝阵其他玩家领奖励推送 // E 10400 ERROR_CODE_INDICATION = 10400;