From 6f9d61b0e9349932b1b493b8e61cc4c59d251dbd Mon Sep 17 00:00:00 2001 From: xuexinpeng Date: Thu, 23 Dec 2021 13:46:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84-=E5=85=AC?= =?UTF-8?q?=E7=94=A8=E9=94=AE=E5=80=BC=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/CommonProto.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 5951987..29787fd 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -1207,13 +1207,18 @@ option optimize_for = SPEED; optional string defServerName = 7;//对方服务器名字 } + //键值对 key-val + message CommKeyVal{ + optional int32 key = 1; //键 + optional int32 val = 2; //值 + } //探索地图 message ExplorerMapInfo{ optional int32 teamId = 1; //队伍id optional int32 mapId = 2 ; //地图id optional int32 hp = 3; //队伍血量 optional int32 exploreTime = 4;//探索时间 - repeated int32 dropReward = 5 ;//掉落组 + repeated CommKeyVal dropReward = 5 ;//掉落组 } message ExplorerMapSendInfo{ optional int32 mapId = 1; //地图id