gm福利红点修改

tcx_xiyou_zeroOne_dev
wangzhenxing 2024-08-14 15:15:24 +08:00
parent 83973bce9e
commit 55002f1bf7
2 changed files with 10 additions and 1 deletions

View File

@ -329,7 +329,8 @@ function HomeLand:OnShow()
self:InitDetailBar()
self:SetRedPoint()
self.Privi:SetActive(true)
self.PriviBtn:SetActive(true)
--self.PriviBtn:SetActive(true)
self.PriviBtn:SetActive(not HomeLandManager.activePrivilege)
end
--初始化详细信息列表

View File

@ -176,6 +176,14 @@ function this.RefreshMonthCardRedPoint(type)
end
--所有月卡红点检测
function this.AllRefreshMonthCardRedPoint()
local info=ActivityGiftManager.GetActivityInfoByType(10001)
if not info then
return false
end
if monthCardData and #monthCardData==0 then
return false
end
--PlayerPrefs.SetInt(PlayerManager.uid.."monthCard", 0)
local aaa=PlayerPrefs.GetInt(PlayerManager.uid.."monthCard",0)
if aaa==0 then