From 83ee7fa095bc6c3f5c48d2089e1fafafce6efbe5 Mon Sep 17 00:00:00 2001 From: zhangshanxue Date: Wed, 21 Aug 2019 14:09:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A6=96=E5=85=BD=E6=9D=A5=E8=A2=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 10 ++++++++++ protos/MapInfoProto.proto | 8 +++++++- protos/MessageTypeProto.proto | 5 +++++ protos/PlayerInfoProto.proto | 10 ++++++++++ 4 files changed, 32 insertions(+), 1 deletion(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 5eb3bd4..b406746 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -548,4 +548,14 @@ option optimize_for = SPEED; optional int32 head =4; optional int32 headFrame = 5; optional TeamOneTeamInfo team = 6; + } + + //妖兽排行 + message MonsterRankInfo{ + optional string name = 1; + optional int32 score = 2; + optional int32 rank =3; + optional int32 level =4; + optional int32 head =5; + optional int32 headFrame =6; } \ No newline at end of file diff --git a/protos/MapInfoProto.proto b/protos/MapInfoProto.proto index 2e83dd0..33dddde 100644 --- a/protos/MapInfoProto.proto +++ b/protos/MapInfoProto.proto @@ -280,4 +280,10 @@ import "CommonProto.proto"; message EndlessOutConsumeResponse{ optional int32 fightCount = 1;//战斗次数 optional int32 consumeExecution = 2;//消耗行动力 - } \ No newline at end of file + } + //妖兽来袭 + message monsterAttackIndication + { + optional int32 monsterAttackTime = 1; + } + \ No newline at end of file diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 2a9ec80..acce7c0 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -326,6 +326,9 @@ enum MessageType{ GET_PLAYER_ONE_TEAM_INFO_REQUEST = 16650;//获取第一编队信息 GET_PLAYER_ONE_TEAM_INFO_RESPONSE = 16651; + + GET_MONSTER_RANK_INFO_REQUEST = 16652;//获取妖兽排行 + GET_MONSTER_RANK_INFO_RESPONSE = 1663; // H 10700 HERO_RAND_REQQUEST = 10701; @@ -394,6 +397,8 @@ enum MessageType{ MODIFY_HEAD_FRAME_REQUEST = 11233; MODIFY_HEAD_FRAME_RESPONSE = 11234; + MONSTER_ATTACK_INDICATION = 11235; + // N 11300 // O 11400 // P 11500 diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index ba441bc..e9ff2ee 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -475,4 +475,14 @@ import "CommonProto.proto"; message UpdateSecretBoxSeasonIndication{ optional int32 newSeasonId = 1 ;// 新的赛季id id=0 代表功能已关闭 } + + message GetMonsterRankInfoRequest{ + } + + message GetMonsterRankInfoResponse{ + repeated MonsterRankInfo monster = 1; + optional int32 myScore = 2; //我的分数 -1 + optional int32 myRank =3;// 我的排名 -1不在榜单内 + } +