diff --git a/config/Playroom.xlsx b/config/Playroom.xlsx index 9df6870d..8eab5328 100644 Binary files a/config/Playroom.xlsx and b/config/Playroom.xlsx differ diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index 78459845..a1b1cc9d 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -55,6 +55,7 @@ enum ITEM_POP_LABEL { // item弹窗标签 LimitEventChestRain = 48; // 限时事件宝箱雨 GetEnergyByAD = 49; // 看广告获取体力 SourceChest = 50; // 开启资源宝箱 + PlayroomBuyItem = 51; // playroom打工购买物品 } enum HANDLE_TYPE { ADD = 0; @@ -1742,6 +1743,15 @@ message ResPlayroomChip{ string Msg = 2; } +message ReqPlayroomBuyItem{ + int32 Id = 1; // Mood Id +} + +message ResPlayroomBuyItem{ + RES_CODE Code = 1; + string Msg = 2; +} + // #region 宠物宝藏 message ReqFriendTreasure{} diff --git a/tool/cfg/cfg_xlsx.json b/tool/cfg/cfg_xlsx.json index ea8cc409..a89d67c8 100644 --- a/tool/cfg/cfg_xlsx.json +++ b/tool/cfg/cfg_xlsx.json @@ -470,7 +470,7 @@ "out_file": "PlayroomMood.json", "key": "Id", "sheet_name" :"Mood", - "fields" :["Type", "Cost", "Cost2", "Effect"] + "fields" :["Type", "Cost", "Cost2", "Effect", "Buy"] }, { "in_file": "Mail.xlsx",