From 8131b8c6baaf1fe2a361ed7672911127f66c0500 Mon Sep 17 00:00:00 2001 From: lvxinran Date: Tue, 13 Oct 2020 18:36:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=AD=90=E7=B4=A2=E5=BC=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 8 ++++++++ protos/MapInfoProto.proto | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 077dfb8..db69422 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -842,5 +842,13 @@ option optimize_for = SPEED; optional int32 goodsId = 1; optional int32 remainTime = 2; } + // 地图每个格子的信息 + message JourneyCell{ + // 格子id + optional int32 cellId = 1; + // mapPointConfig id + optional int32 pointId = 2; + optional int32 cellIndex = 3; + } \ No newline at end of file diff --git a/protos/MapInfoProto.proto b/protos/MapInfoProto.proto index 1484405..6ab6917 100644 --- a/protos/MapInfoProto.proto +++ b/protos/MapInfoProto.proto @@ -375,7 +375,7 @@ import "CommonProto.proto"; optional int32 mapId = 1;//逍遥游数据 } message JourneyGetOneInfoResponse{ - repeated Cell cell = 1;//所有格子信息 + repeated JourneyCell cell = 1;//所有格子信息 optional int32 location = 2;//当前位置 optional int32 diceNum = 3;//骰子个数 repeated int32 randomItem = 4;//转盘信息 @@ -401,3 +401,4 @@ import "CommonProto.proto"; optional int32 monsterIndex = 3; } +