From dddfea9241f364e1d6447f70b7a468043b517235 Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:27:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0playroom=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- makedown/optimization.md | 11 +++++++++++ proto/Gameapi.proto | 14 ++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/makedown/optimization.md b/makedown/optimization.md index 8fb11a31..68bd9f17 100644 --- a/makedown/optimization.md +++ b/makedown/optimization.md @@ -1368,6 +1368,7 @@ message ResPlayroom{ int32 StartTime = 9; // 开始时间 int32 WorkStatus = 10; // 1 工作中 2 休息中 int32 AllMood = 11; // 总心情 + int32 Chip = 12; // 碎片 } message NotifyPlayroomWork{ @@ -1395,6 +1396,8 @@ message RoomOpponent{ int32 LastTime = 5; // 上次被攻击时间 } + + // 请求拜访空间信息 message ReqPlayroomInfo{ int32 Uid = 1; @@ -1477,6 +1480,14 @@ message ResPlayroomDraw{ int32 Id = 3; // 奖励Id } +message ReqPlayroomChip{ + int32 Num = 1; // 要消除的层数 +} + +message ResPlayroomChip{ + RES_CODE Code = 1; + string Msg = 2; +} ``` ## 后台 diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index ed97f7ee..0d00929a 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -3352,6 +3352,8 @@ message ResRaceReward{ string Msg = 2; } + +//--------------------------【playroom】-------------------------- message ReqPlayroom{} // 请求我的空间信息 message ResPlayroom{ @@ -3366,6 +3368,7 @@ message ResPlayroom{ int32 StartTime = 9; // 开始时间 int32 WorkStatus = 10; // 1 工作中 2 休息中 int32 AllMood = 11; // 总心情 + int32 Chip = 12; // 碎片 } message NotifyPlayroomWork{ @@ -3393,6 +3396,8 @@ message RoomOpponent{ int32 LastTime = 5; // 上次被攻击时间 } + + // 请求拜访空间信息 message ReqPlayroomInfo{ int32 Uid = 1; @@ -3473,4 +3478,13 @@ message ResPlayroomDraw{ RES_CODE Code = 1; string Msg = 2; int32 Id = 3; // 奖励Id +} + +message ReqPlayroomChip{ + int32 Num = 1; // 要消除的层数 +} + +message ResPlayroomChip{ + RES_CODE Code = 1; + string Msg = 2; } \ No newline at end of file