【红点】成长礼包红点不显示修复
parent
bc1f1bb00e
commit
115e4aaa18
|
@ -412,18 +412,18 @@ function this.CheckNewVipRP()
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.CheckGrowthPackagePointStatus()--成长礼包
|
function this.CheckGrowthPackagePointStatus()--成长礼包
|
||||||
-- local redointTime =PlayerPrefs.GetInt(PlayerManager.uid.."czlb", 0)
|
local redointTime =PlayerPrefs.GetInt(PlayerManager.uid.."czlb", 0)
|
||||||
-- local rechargeNum= VipManager.GetChargedNum()--已经充值的金额
|
local rechargeNum= VipManager.GetChargedNum()--已经充值的金额
|
||||||
-- local shopData = ShopManager.GetShopDataByType(SHOP_TYPE.VIP_GIFT).storeItem
|
local shopData = ShopManager.GetShopDataByType(SHOP_TYPE.VIP_GIFT).storeItem
|
||||||
-- local shopItemConfig = ConfigManager.GetConfig(ConfigName.StoreConfig)
|
local shopItemConfig = ConfigManager.GetConfig(ConfigName.StoreConfig)
|
||||||
-- for i = 1, #shopData do
|
for i = 1, #shopData do
|
||||||
-- local boughtNum = ShopManager.GetShopItemHadBuyTimes(SHOP_TYPE.VIP_GIFT, shopData[i].id)
|
local boughtNum = ShopManager.GetShopItemHadBuyTimes(SHOP_TYPE.VIP_GIFT, shopData[i].id)
|
||||||
-- if rechargeNum >= shopItemConfig[shopData[i].id].BuyRule[2] and boughtNum == 0 then
|
if rechargeNum >= shopItemConfig[shopData[i].id].BuyRule[2] and boughtNum == 0 then
|
||||||
-- if redointTime == 0 then
|
if redointTime == 0 then
|
||||||
-- return true
|
return true
|
||||||
-- end
|
end
|
||||||
-- end
|
end
|
||||||
-- end
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue