From 26e55d63b506883fa14badc017b0f46a95ae725e Mon Sep 17 00:00:00 2001 From: jiahuiwen <1024696487@qq.com> Date: Fri, 19 Apr 2019 11:28:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 11 ++++++++--- protos/MapInfoProto.proto | 2 ++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index abf0942..65ae484 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -219,6 +219,11 @@ option optimize_for = SPEED; repeated LevelDifficulty LevelDifficulty = 2; } - - - + // 副本信息 + message MapInfo { + optional int32 mapId = 1; + // 最少时间 + optional int32 leastTime = 2; + // 所得星数 (1:完成任务 2:时间小于指定时间 3:100% 探索度) + repeated int32 stars = 3; + } diff --git a/protos/MapInfoProto.proto b/protos/MapInfoProto.proto index 1f44e60..f52231c 100644 --- a/protos/MapInfoProto.proto +++ b/protos/MapInfoProto.proto @@ -96,6 +96,8 @@ import "CommonProto.proto"; //关卡信息 message getAllLevelDifficultyInfosResponse{ repeated LevelDifficultyInfos levelDifficultyInfos = 1; + // 副本信息 + repeated MapInfo mapInfos = 2; } // 查看排行榜