gm福利红点修改
parent
83973bce9e
commit
55002f1bf7
|
|
@ -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
|
||||
|
||||
--初始化详细信息列表
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue