From ad514a3370d01edf75d2b5348f1a03b4156b545b Mon Sep 17 00:00:00 2001 From: wangyuan Date: Tue, 8 Oct 2019 11:23:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=85=B3=E5=8D=A1=E6=8E=92=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 11 +++++++++++ protos/FightInfoProto.proto | 7 +++++++ protos/MessageTypeProto.proto | 2 ++ 3 files changed, 20 insertions(+) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 08010a4..70aef39 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -665,4 +665,15 @@ option optimize_for = SPEED; optional int32 luckTimes = 3;//中奖数 } + message MainLevelRankInfo{ + optional int32 uid = 1; + optional int32 level =2; + optional string name =3; + optional int32 fightId = 4; + optional int32 head =5; + optional int32 rank =6; //排名 + optional int32 totalForce =7; + optional int32 headFrame = 8; + } + \ No newline at end of file diff --git a/protos/FightInfoProto.proto b/protos/FightInfoProto.proto index 5712464..d717207 100644 --- a/protos/FightInfoProto.proto +++ b/protos/FightInfoProto.proto @@ -197,5 +197,12 @@ import "CommonProto.proto"; optional AdventureBossSimpleInfo adventureBossInfo =1; // 召唤bosss信息 } + + + message MainLevelRankInfoResponse{ + repeated MainLevelRankInfo MainLevelRankInfo = 1; + optional MainLevelRankInfo myMainLevelRankInfo =2; + } + diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 69a3b0e..97ea1b3 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -476,6 +476,8 @@ enum MessageType{ MAIN_LEVEL_TAKE_STATE_REWARD_REQUEST = 11238; //领取关卡挂机奖励 MAIN_LEVEL_TAKE_STATE_REWARD_RESPONSE = 11239; + MAIN_LEVEL_GET_RANK_REQUEST = 11240 ; // 获取关卡排行 + MAIN_LEVEL_GET_RANK_RESPONSE = 11241 ; // // N 11300 From 12b35f10140f1c07bf8bc8f5070f60dd1c21170d Mon Sep 17 00:00:00 2001 From: wangyuan Date: Tue, 8 Oct 2019 14:17:25 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=8B=B1=E9=9B=84=E5=9B=9E=E6=BA=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/HeroInfoProto.proto | 8 ++++++++ protos/MessageTypeProto.proto | 3 +++ 2 files changed, 11 insertions(+) diff --git a/protos/HeroInfoProto.proto b/protos/HeroInfoProto.proto index c8acc01..27619b6 100644 --- a/protos/HeroInfoProto.proto +++ b/protos/HeroInfoProto.proto @@ -162,3 +162,11 @@ import "CommonProto.proto"; optional Drop drop = 1;//掉落 optional int32 pos = 2; } + + message HeroReturnRequest{ + optional string heroId = 1; + } + + message HeroReturnResponse{ + optional Drop drop =1; + } diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 97ea1b3..db8fac5 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -404,6 +404,9 @@ enum MessageType{ HERO_COMPOSE_REQUEST = 10703; // 合成英雄 HERO_COMPOSE_RESPONSE = 10704; + + HERO_RETURN_REQUEST = 10705; //英雄回溯 + HERO_RETURN_RESPONSE = 10706; // I 10800 // J 10900 // K 11000