From 244ad16a51db7c90ebe343d037cf38619573aa30 Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Wed, 25 Sep 2019 15:54:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B8=E8=BF=90=E6=8E=A2=E5=AE=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 5 +++++ protos/MessageTypeProto.proto | 7 ++++++- protos/PlayerInfoProto.proto | 25 +++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 49d0ddd..cddd90c 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -659,4 +659,9 @@ option optimize_for = SPEED; optional int32 score = 8; } + message LuckWheelRewardPosInfo{ + optional int32 pos = 1; + optional int32 luckId = 2;//配置表id + } + \ No newline at end of file diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index d16a91d..75ae15a 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -386,7 +386,9 @@ enum MessageType{ GET_QUESTION_REQUEST = 1666;//问卷 GET_QUESTION_RESPONSE = 1667; - + GET_LUCKWHEEL_RANDREWARD_REQUEST = 1668;//幸运探宝 + GET_LUCKWHEEL_RANDREWARD_RESPONSE = 1669;//幸运探宝 + // H 10700 HERO_RAND_REQQUEST = 10701; HERO_RAND_RESPONSE = 10702; @@ -532,6 +534,9 @@ enum MessageType{ ROOM_LOGIN_REQEUST = 11740; // 登录房间 ROOM_LOGIN_RESPONSE = 11750; + + REFRESH_LUCKWHEEL_REQUEST = 11751;//幸运探宝 + REFRESH_LUCKWHEEL_RESPONSE = 11752; // S 11800 SUCCESS_RESPONSE = 11800; // 通用成功回复 diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index cf8688c..c7cf645 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -356,6 +356,8 @@ import "CommonProto.proto"; optional fiveResetTowerInfo fiveResetTowerInfo = 5;// 重置试炼信息 optional SignInInfo SignInInfo = 6;//签到 optional PlayerBindPhone playerBindPhone = 7;//玩家手机绑定信息 + repeated LuckWheelRewardPosInfo posInfos = 8;//转盘信息 + repeated LuckWheelRewardPosInfo posInfosAdvance = 9;//高级转盘信息 } @@ -551,4 +553,27 @@ import "CommonProto.proto"; optional int32 goodsId = 1; // 索购买的商品id optional Drop drop = 2; // } + + + message RefreshLuckWheelRequest{ + optional int32 activityId = 1; + optional bool isFree = 2; + } + + message RefreshLuckWheelResponse{ + repeated LuckWheelRewardPosInfo posInfos = 1; + + } + + message GetLuckWheelRandRewardRequest{ + optional int32 activityId = 1; + optional bool repeated = 2; + } + message GetLuckWheelRandRewardResponse{ + optional int32 activityId = 1; + optional int32 pos = 2; + optional Drop drop = 3; + } + + \ No newline at end of file