[月卡]======月卡红点修改

dev_chengFeng
wangzhenxing 2022-06-30 10:21:13 +08:00
parent bf9efec5c6
commit 812cfaabb6
3 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -99,6 +99,7 @@ function MonthCardPage:OnShow(_sortingOrder)
sortingOrder = _sortingOrder
MonthCardManager.RefreshMonthCardEnd()
PlayerPrefs.SetInt(PlayerManager.uid.."monthCard", 1)
self:RefreshStoneShow()
end

View File

@ -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