From 490515d0891d4d655a7cb81e61f428992e997545 Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Tue, 25 Mar 2025 14:52:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8C=9C=E9=A2=9C=E8=89=B2=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/Gameapi.proto | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index 51151ce4..af287f38 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -86,7 +86,7 @@ enum ITEM_TYPE { //活动类型 enum ACTIVITY_TYPE { - DEFAULT = 0; + ACTIVITY_TYPE_DEFAULT = 0; ACT_TYPE_MINING = 1; // 挖矿 ACT_TYPE_GUESS_COLOR = 2; // 猜颜色 ACT_TYPE_RACE = 3; // 赛跑 @@ -1675,7 +1675,7 @@ message ResGuessColor{ int32 EndTime = 3; // 结束时间 int32 Template = 4; // 模板 int32 Pass = 5; // 关卡 - map Map = 6; // 我的错误历史 + repeated GuessColorInfo MapList = 6; // 我的错误历史 map OMap = 7; // 对手完成进度 int32 WinTime = 8; // 赢的次数 opponent Opponent = 9; // 对手 @@ -1690,10 +1690,14 @@ message opponent{ // 猜颜色 message ReqGuessColorTake{ - map Map = 1; // 我的错误历史 + GuessColorInfo Map = 1; // 我的错误历史 map OMap = 2; // 对手完成进度 } +message GuessColorInfo{ + map Map = 1; // 我的错误历史 +} + message ResGuessColorTake{ RES_CODE Code = 1; string Msg = 2;