From c200c25b36f5a63b3bcd5ae433ad77cf57392dab Mon Sep 17 00:00:00 2001 From: xuexinpeng Date: Wed, 19 May 2021 18:36:34 +0800 Subject: [PATCH] =?UTF-8?q?vip=E7=AD=89=E7=BA=A7=E5=A5=96=E5=8A=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 8 ++++++++ protos/PlayerInfoProto.proto | 13 +++++++++++++ 2 files changed, 21 insertions(+) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 2165b8f..16bf3c2 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -972,3 +972,11 @@ option optimize_for = SPEED; optional string subId = 3;//神印附属英雄id optional int32 state = 4;//神印状态 0:未使用,1:已使用 } + + //通用键值对 + message KeyVal{ + optional int32 key = 1; + optional int32 val = 2; + } + + diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 91d3100..4679631 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -872,4 +872,17 @@ import "CommonProto.proto"; message HardStageReportResponse{ repeated HardStagePlayerInfo player = 1; } + //特权等级奖励状态 + message VipLevelStateRequset{ + } + message VipLevelStateResponse{ + repeated KeyVal vipState = 1;//键值对 + } + //特权等级奖励领取 + message VipLevelStateRequset{ + optional int32 vipLevelId = 1; + } + message VipLevelStateResponse{ + repeated bool isSuccess = 1;//是否领取成功 + } \ No newline at end of file