diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 1ce02d0..68c5349 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -769,4 +769,11 @@ option optimize_for = SPEED; optional string id = 1; optional int32 equiptId = 2; } + + message MonthCardInfo{ + optional int32 id = 1; + optional int32 endingTime = 2; + optional int32 state = 3;//1已领取 0未领取 + optional int32 totleAmt = 4;//当前累计金额 + } \ No newline at end of file diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index a7dcfbb..f2af77b 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -843,4 +843,8 @@ 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 3e13864..b24bef0 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;//月卡 } @@ -376,6 +376,7 @@ import "CommonProto.proto"; optional PlayerBindPhone playerBindPhone = 7;//玩家手机绑定信息 repeated LuckWheelRewardPosInfo posInfos = 8;//转盘信息 repeated LuckWheelRewardPosInfo posInfosAdvance = 9;//高级转盘信息 + repeated int32 MonthDailyTake=10;//已领取的月卡id } @@ -652,6 +653,8 @@ import "CommonProto.proto"; message RefreshRechargeIndication{ optional int32 amount = 1;//总储值 + optional int32 monthSaveAmt = 2 ; //月卡累计总额 + optional int32 smonthSaveAmt = 3 ; //豪华月卡累计总额 } message VipTakeDilyRequest{ @@ -688,5 +691,18 @@ import "CommonProto.proto"; optional int32 dayTime = 1; optional int32 weekTime = 2; } + message MonthCardIndication{ + repeated MonthCardInfo monthinfos = 1; + } + + message TakeMothDilyRequest{ + optional int32 type=1; + } + message TakeMothDilyResponse{ + optional Drop drop =1; + } + + + \ No newline at end of file