From 9b5246ce0a278803e2e610ebd092b2111ad02b3f Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Fri, 2 Aug 2019 13:26:05 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=88=98=E5=8A=9B=E6=8E=92=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 9 +++++++++ protos/MessageTypeProto.proto | 5 +++-- protos/PlayerInfoProto.proto | 13 +++++++++---- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 3fd013d..e54527c 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -496,3 +496,12 @@ option optimize_for = SPEED; optional string heroId = 1; //英雄Id optional int32 hp = 2;//英雄血量 } + + //战力排行 + message UseForceInfo{ + optional string name = 1; + optional int32 leve = 2; + optional int32 force = 3; + optional int32 rank =4; + } + diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 1418a43..200fb77 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -237,6 +237,9 @@ enum MessageType{ GET_TOWER_RANK_BY_PAGE_REQUEST = 16644; //获取试炼副本排行 GET_TOWER_RANK_BY_PAGE_RESPONSE = 16645; + + GETF_FORCE_RANK_INFO_REQUEST = 16646; + GETF_FORCE_RANK_INFO_RESPONSE = 16647; // H 10700 HERO_RAND_REQQUEST = 10701; @@ -252,8 +255,6 @@ enum MessageType{ LOGIN_REQUEST = 11100; // 登陆或注册 LOGIN_RESPONSE = 11101; - LUCKCAT_REWARD_RESPONSE = 11102;//招财猫 - // M 11200 MAP_ENTER_REQUEST = 11200; // 进入地图 MAP_ENTER_RESPONSE = 11201; diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index a769c15..902d282 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -412,10 +412,15 @@ import "CommonProto.proto"; repeated int32 closeActivityId = 2; } - //招财猫 - message LuckCatRewardResponse{ - optional Drop drop = 1; - optional int32 missionId = 2; + message GetForceRankInfoRequest{ + optional int32 page = 1; //页数 + optional int32 activiteId = 2; //活动ID + } + + message GetForceRankInfoResponse{ + repeated UseForceInfo useForceInfo = 1; + optional int32 myForce = 2; //我的战力 + optional int32 myRank =3 ;// 我的排名 } From 6906e6275766b44f9756d9f00a00e3e328218d2d Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Fri, 2 Aug 2019 14:42:43 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E8=BF=9B=E5=BA=A6?= =?UTF-8?q?=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/MessageTypeProto.proto | 1 + protos/PlayerInfoProto.proto | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index beeba82..b029ef3 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -74,6 +74,7 @@ enum MessageType{ ADVENTURE_LEFT_RESPONSE = 10050; ACTIVITY_UPDATE_INDICATION = 10051 ;// 活动更新推送 + ACTIVITY_UPDATE_PROGRESS_INDICATION = 10052 ;// 活动进度推送 // B 10100 BUY_STORE_ITEM_REQUEST = 10100; // 购买商店物品 diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index 902d282..c7fab84 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -423,4 +423,8 @@ import "CommonProto.proto"; optional int32 myRank =3 ;// 我的排名 } + //活动进度推送 + message ActivityUpateProgressIndication{ + required ActivityInfo activityInfo =1; + }