From ef37f345785f76724b71ca03b9650d76be51dc6b Mon Sep 17 00:00:00 2001 From: hahwu <31872165+hahwu@users.noreply.github.com> Date: Thu, 9 Jan 2025 16:40:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/Gameapi.proto | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/proto/Gameapi.proto b/proto/Gameapi.proto index b6e680ff..ec81e39d 100644 --- a/proto/Gameapi.proto +++ b/proto/Gameapi.proto @@ -53,6 +53,7 @@ enum ITEM_POP_LABEL { // item弹窗标签 Friendtreasure = 46; CardHandbookReward = 47; // 卡牌图鉴奖励 LimitEventChestRain = 48; // 限时事件宝箱雨 + GetEnergyByAD = 49; // 看广告获取体力 } enum HANDLE_TYPE { ADD = 0; @@ -427,6 +428,7 @@ message BaseInfo { int32 EnergyMul = 1; // 能量倍数 bool IsFirstBuy = 2; // 是否已第一次购买体力商店 int32 EnergyBuy = 3; // 今日体力商店购买次数 + int32 EnergyAD = 4; // 今日看广告获取体力次数 } message ReqUserInfo{} @@ -473,6 +475,13 @@ message ResBuyEnergy{ string Msg = 2; } +// 看广告获取能量 +message ReqGetEnergyByAD{} +message ResGetEnergyByAD{ + RES_CODE Code = 1; + string Msg = 2; +} + message ReqGetHandbookReward { int32 ChessId = 1; }