From 773272dc64c22c1f2047a7c19de25ce23d9c15ff Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Thu, 17 Apr 2025 19:09:55 +0800 Subject: [PATCH] =?UTF-8?q?playroom=E4=BC=98=E5=8C=96?= 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 efed10c5..eac06f0d 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -1894,7 +1894,7 @@ message ResPlayroom{ int32 StartTime = 9; // 开始时间 int32 WorkStatus = 10; // 1 工作中 2 休息中 int32 AllMood = 11; // 总心情 - int32 Chip = 12; // 碎片 + repeated ChipInfo Chip = 12; // 碎片 int32 WorkOutline = 13;// 离线打工状态 0 未离线 1 已离线 int32 Jackpot = 14; // 每日转盘次数 map Physiology = 15; @@ -1951,7 +1951,11 @@ message NotifyPlayroomWork{ message NotifyPlayroomLose{ repeated ItemInfo LoseItem = 1; // 损失的道具 - int32 Chip = 2;// 碎片 + repeated ChipInfo Chip = 2;// 碎片 +} + +message ChipInfo { + int64 Uid = 1; // 玩家id } message NotifyPlayroomMood{ @@ -1994,7 +1998,7 @@ message ResPlayroomInfo{ int32 Status = 8; // 状态 0 未开始 1 选择奖励 2 已结束 bool defense = 9; // 是否有防御 map flip = 10; // 翻牌 <位置, 牌> - int32 Chip = 11; // 碎片 + repeated ChipInfo Chip = 11; // 碎片 string PetName = 12; // 宠物名 map Emoji = 13; // 表情 bool Upvote = 14; // 是否点赞