From ea0655465815e4bd08fe5c79559a6c290befa09f Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Fri, 30 Aug 2019 11:36:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 4 ++++ protos/MessageTypeProto.proto | 7 +++++++ protos/PlayerInfoProto.proto | 17 ++++++++++++++++- 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index a0d68bf..1307e33 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -591,4 +591,8 @@ option optimize_for = SPEED; message EndlessInfo{ optional int32 mapId = 1; optional int32 worldLevel = 2; + } + message PlayerBindPhone{ + optional string phoneNum = 1; + optional int32 state = 2;//本月绑定状态 0 未绑定 1已绑定未领奖 2已领奖 } \ No newline at end of file diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index cd0cf21..6878fd5 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -351,6 +351,10 @@ enum MessageType{ GET_MONSTER_RANK_INFO_REQUEST = 16652;//获取妖兽排行 GET_MONSTER_RANK_INFO_RESPONSE = 1663; + + GET_PHONE_REWARD_REQUEST = 1664;//获取绑定手机号奖励 + GET_PHONE_REWARD_RESPONSE = 1665; + // H 10700 HERO_RAND_REQQUEST = 10701; @@ -582,6 +586,9 @@ enum MessageType{ UPDATE_USER_EXP_INDICATION = 12011 ; // 更新玩家等级经验信息 UPDATE_SECRET_BOX_SEASON_INDICATION = 12012; // 更新秘盒赛季信息 + + UPDATE_PHONE_INFO_REQUEST = 12013; //更新手机号 + UPDATE_PHONE_INFO_RESPONSE = 12014; // V 12100 VIEW_FIGHTREPLAY_REQUEST = 12100; // 查看战斗回放 diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index eee20f0..2a5b876 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -58,6 +58,7 @@ import "CommonProto.proto"; optional int32 monsterAttackTime = 19;//妖潮 optional int32 isDayFirst = 20;//0表示新的一天 optional EndlessInfo endInfo = 21;//无尽副本信息 + optional PlayerBindPhone playerBindPhone = 22;//玩家手机绑定信息 } @@ -352,6 +353,7 @@ import "CommonProto.proto"; repeated UserMissionInfo userMissionInfo =4;//任务详情(列如 每日任务重置) optional fiveResetTowerInfo fiveResetTowerInfo = 5;// 重置试炼信息 optional SignInInfo SignInInfo = 6;//签到 + optional PlayerBindPhone playerBindPhone = 7;//玩家手机绑定信息 } message GetMissionResponse{ @@ -492,4 +494,17 @@ import "CommonProto.proto"; message PlayerBackCInfoIndication{ optional string nickName = 1; } - + + message UpdatePhoneinfoRequest{ + optional string phoneNum = 1; + } + message UpdatePhoneinfoResponse{ + optional int32 state = 1;//本月绑定状态 0 未绑定 1已绑定未领奖 2已领奖 + } + + message GetPhoneRewardRequest{ + } + + message GetPhoneRewardResponse{ + optional Drop drop =1 ; + }