From 6bfa7d318beca96978da6032377ecf2820c05504 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Sun, 26 Jul 2020 17:28:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Modules/Operating/OperatingManager.lua | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Operating/OperatingManager.lua b/Assets/ManagedResources/~Lua/Modules/Operating/OperatingManager.lua index a06155aa06..2938d23a1a 100644 --- a/Assets/ManagedResources/~Lua/Modules/Operating/OperatingManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Operating/OperatingManager.lua @@ -308,22 +308,22 @@ end function this.IsHeroGiftActive() -- 关闭星级成长礼显示 return false - local activeNum = 0 - if not giftGoodsInfoList[GoodsTypeDef.DirectPurchaseGift] then - return false - else - for i = 1, #giftGoodsInfoList[GoodsTypeDef.DirectPurchaseGift] do - local data =giftGoodsInfoList[GoodsTypeDef.DirectPurchaseGift][i] - if data then - local id = data.goodsId - if rechargeConfig[id].ShowType == 8 then --- 只有前端显示的商品类型 - activeNum = activeNum + 1 - end - end - end - end + -- local activeNum = 0 + -- if not giftGoodsInfoList[GoodsTypeDef.DirectPurchaseGift] then + -- return false + -- else + -- for i = 1, #giftGoodsInfoList[GoodsTypeDef.DirectPurchaseGift] do + -- local data =giftGoodsInfoList[GoodsTypeDef.DirectPurchaseGift][i] + -- if data then + -- local id = data.goodsId + -- if rechargeConfig[id].ShowType == 8 then --- 只有前端显示的商品类型 + -- activeNum = activeNum + 1 + -- end + -- end + -- end + -- end - return activeNum > 0 + -- return activeNum > 0 end --- 获取礼包的显示数据