From 0ca8a426b3be029bd0603b2c4a660888b4cb9dc0 Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Mon, 30 Mar 2020 14:42:22 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E6=9C=88=E5=8D=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 5 +++++ protos/MessageTypeProto.proto | 5 +++++ protos/PlayerInfoProto.proto | 14 +++++++++++--- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 8ae6ab7..0021d92 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -769,4 +769,9 @@ option optimize_for = SPEED; optional string id = 1; optional int32 equiptId = 2; } + + message MonthCardInfo{ + optional int32 id = 1; + optional int32 endingTime = 2; + } \ No newline at end of file diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index a7dcfbb..d6e8bcf 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -843,4 +843,9 @@ enum MessageType{ EXPEDITION_HOLY_BAG_INDICATION = 20016; //臨時背包推送 EXPEDITION_NOINFO_INDICATION = 20017; //节点状态推送 +// 20101 - 20110 月卡 + MONTHCARD_TAKE_DAILY_REQUEST =20101; + MONTHCARD_TAKE_DAILY_RESPONSE =20102; + MONTHCARD_INDICATION =20103; + } diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 5dbf777..27f5c65 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -65,7 +65,7 @@ import "CommonProto.proto"; optional int32 amount = 26;//总储值 optional int32 vipDaily = 27;//特权每日礼包是否领取 0 未领 >0vip 等级 optional int32 missingRefreshCount = 28;//迷宫寻宝妖精刷新次数 - + repeated MonthCardInfo monthinfos = 29;//月卡 } @@ -688,5 +688,13 @@ import "CommonProto.proto"; optional int32 dayTime = 1; optional int32 weekTime = 2; } - - \ No newline at end of file + message MonthCardIndication{ + repeated MonthCardInfo monthinfos = 1; + } + + message TakeMothDilyRequest{ + optional int32 type=1; + } + message TakeMothDilyResponse{ + optional Drop drop =1; + } From 6316d1918476621054458a25b6ce6d5ae9b6f88f Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Mon, 30 Mar 2020 15:50:53 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E6=9C=88=E5=8D=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 1 + protos/PlayerInfoProto.proto | 1 + 2 files changed, 2 insertions(+) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 0021d92..19bb34f 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -773,5 +773,6 @@ option optimize_for = SPEED; message MonthCardInfo{ optional int32 id = 1; optional int32 endingTime = 2; + optional int32 state = 3;//1已领取 0未领取 } \ No newline at end of file diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 27f5c65..6c08f74 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -376,6 +376,7 @@ import "CommonProto.proto"; optional PlayerBindPhone playerBindPhone = 7;//玩家手机绑定信息 repeated LuckWheelRewardPosInfo posInfos = 8;//转盘信息 repeated LuckWheelRewardPosInfo posInfosAdvance = 9;//高级转盘信息 + repeated int32 MonthDailyTake=10;//已领取的月卡id } From 2819a37b081334e4ea12cf55196a17d56a9f393d Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Mon, 30 Mar 2020 16:02:14 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E6=9C=88=E5=8D=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/MessageTypeProto.proto | 2 +- protos/PlayerInfoProto.proto | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index d6e8bcf..15b7088 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -847,5 +847,5 @@ enum MessageType{ MONTHCARD_TAKE_DAILY_REQUEST =20101; MONTHCARD_TAKE_DAILY_RESPONSE =20102; MONTHCARD_INDICATION =20103; - + ACCUMULATIVE_INDICATION =20104; } diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 6c08f74..10e3079 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -699,3 +699,14 @@ import "CommonProto.proto"; message TakeMothDilyResponse{ optional Drop drop =1; } + + //累计数值推送 + message AccumulativeIndication{ + optional int32 saveAmt = 1 ; //历史累计总额 + optional int32 monthSaveAmt = 2 ; //月累计总额 + } + + + + + \ No newline at end of file From a4de374ae0603b2200915bb5bd3b681992ef4733 Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Mon, 30 Mar 2020 16:14:04 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E6=9C=88=E5=8D=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/MessageTypeProto.proto | 1 - protos/PlayerInfoProto.proto | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 15b7088..f2af77b 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -847,5 +847,4 @@ enum MessageType{ MONTHCARD_TAKE_DAILY_REQUEST =20101; MONTHCARD_TAKE_DAILY_RESPONSE =20102; MONTHCARD_INDICATION =20103; - ACCUMULATIVE_INDICATION =20104; } diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 10e3079..467c1d1 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -653,6 +653,7 @@ import "CommonProto.proto"; message RefreshRechargeIndication{ optional int32 amount = 1;//总储值 + optional int32 monthSaveAmt = 2 ; //月累计总额 } message VipTakeDilyRequest{ @@ -700,12 +701,6 @@ import "CommonProto.proto"; optional Drop drop =1; } - //累计数值推送 - message AccumulativeIndication{ - optional int32 saveAmt = 1 ; //历史累计总额 - optional int32 monthSaveAmt = 2 ; //月累计总额 - } - From fe09b0eb49abb68d5ef6b37cab9547edca2e9f1e Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Mon, 30 Mar 2020 16:27:17 +0800 Subject: [PATCH 5/6] =?UTF-8?q?=E6=9C=88=E5=8D=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/PlayerInfoProto.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 467c1d1..5effe52 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -653,7 +653,8 @@ import "CommonProto.proto"; message RefreshRechargeIndication{ optional int32 amount = 1;//总储值 - optional int32 monthSaveAmt = 2 ; //月累计总额 + optional int32 monthSaveAmt = 2 ; //月卡累计总额 + optional int32 smonthSaveAmt = 3 ; //豪华月卡累计总额 } message VipTakeDilyRequest{ From 203e661daee4187e9c46899ab7b193c58599acef Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Mon, 30 Mar 2020 18:20:46 +0800 Subject: [PATCH 6/6] =?UTF-8?q?=E6=9C=88=E5=8D=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 19bb34f..c60c98c 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -774,5 +774,6 @@ option optimize_for = SPEED; optional int32 id = 1; optional int32 endingTime = 2; optional int32 state = 3;//1已领取 0未领取 + optional int32 totleAmt = 4;//当前累计金额 } \ No newline at end of file