From c61e623dccaa23987a9cc381b08ebd4ad13e5ca3 Mon Sep 17 00:00:00 2001 From: wangyuan Date: Tue, 4 Jun 2019 09:52:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=AF=E8=AE=A1=E5=85=85=E5=80=BC=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 3 +++ protos/MessageTypeProto.proto | 4 ++++ protos/PlayerInfoProto.proto | 8 ++++++++ 3 files changed, 15 insertions(+) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index e3a9db6..e2a167d 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -28,6 +28,9 @@ option optimize_for = SPEED; optional int32 buyFightCount = 13; // 今日已购买挑战次数 optional int32 maxForce = 14 ;//最大战力 + + optional int32 saveAmt = 15 ;//累计充值 + optional int32 rechargeTime = 16;//首次充值时间 } message Privilege{ diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 4eb7343..b78826f 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -222,6 +222,10 @@ enum MessageType{ STORE_GOODS_REFRESH_REQUEST = 11813; //商店刷新 STORE_GOODS_REFRESH_RESPONSE= 11814; + + RECHARGE_INFO_REQUEST = 11815; //充值 + RECHARGE_INFO_RESPONSE = 11816; + // T 11900 TRIGGER_EVENT_REQUEST = 11900; // TRIGGER_EVENT_RESPONSE = 11901; diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index ca42a0f..75f7d0f 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -226,6 +226,14 @@ import "CommonProto.proto"; optional Drop drop =1; } + message RechargeInfoRequest{ + optional int32 money = 1; //充值金额 + } + + message RechargeInfoResponse{ + optional Drop drop = 1 ;// 首冲奖励 + } +