[月卡]======月卡红点修改
parent
bf9efec5c6
commit
812cfaabb6
|
|
@ -159,6 +159,11 @@ function this.RefreshMonthCardRedPoint(type)
|
|||
end
|
||||
--所有月卡红点检测
|
||||
function this.AllRefreshMonthCardRedPoint()
|
||||
--PlayerPrefs.SetInt(PlayerManager.uid.."monthCard", 0)
|
||||
local aaa=PlayerPrefs.GetInt(PlayerManager.uid.."monthCard",0)
|
||||
if aaa==0 then
|
||||
return true
|
||||
end
|
||||
for i = 1, #monthCardData do
|
||||
if monthCardData[i].state == 1 then
|
||||
return true
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@ function MonthCardPage:OnShow(_sortingOrder)
|
|||
sortingOrder = _sortingOrder
|
||||
|
||||
MonthCardManager.RefreshMonthCardEnd()
|
||||
PlayerPrefs.SetInt(PlayerManager.uid.."monthCard", 1)
|
||||
self:RefreshStoneShow()
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@ function this.ResetLocalData(var)--初始化所有本地的每日一刷--1是五
|
|||
PlayerPrefs.SetInt(PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.BaoGeTen,0)
|
||||
PlayerPrefs.SetInt(PlayerManager.uid.."GeneralPopup_ChangeHeroProConfirm",0)
|
||||
PlayerPrefs.SetInt("IsCheckWeekCard_"..PlayerManager.uid, 0)
|
||||
PlayerPrefs.SetInt(PlayerManager.uid.."monthCard", 0)
|
||||
PlayerPrefs.SetInt(PlayerManager.uid.."CommonActPage"..ActivityTypeDef.YunYouShangRen,0)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue