From 8d6851140e2c415d8efd3eb9b05cd4844bff5df2 Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Fri, 25 Jul 2025 18:22:57 +0800 Subject: [PATCH] =?UTF-8?q?playroom=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/Gameapi.proto | 7 +++++++ tool/cfg/cfg_xlsx.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index 897de73c..cbd1583c 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -2141,6 +2141,13 @@ message NotifyPlayroomMood{ int32 AllMood = 1; // 总心情 map Mood = 2; // 心情 <位置, 心情> map Physiology = 3; // 生理 <位置, 生理> + repeated AdItem AdItem = 4; // 广告奖励 +} + +message AdItem { + int32 Watch = 1; // 今日观看次数 + int32 LastWatch = 2; // 上次观看时间 + int32 ItemId = 3; // 道具id } message NotifyPlayroomKiss{ diff --git a/tool/cfg/cfg_xlsx.json b/tool/cfg/cfg_xlsx.json index 9d54b630..b3c335cc 100644 --- a/tool/cfg/cfg_xlsx.json +++ b/tool/cfg/cfg_xlsx.json @@ -603,7 +603,7 @@ "out_file": "PlayroomShop.json", "key": "Id", "sheet_name" :"Shop", - "fields" :["Type", "ItemId", "Cost","Wish"] + "fields" :["Type", "ItemId", "Cost","Wish", "Cooldown", "Dailystorage"] }, { "in_file": "Playroom.xlsx",