PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionMainWeek.lua

14 lines
No EOL
427 B
Lua

local XRedPointConditionMainWeek = {}
function XRedPointConditionMainWeek.Check()
local isShowRedPoint = XDataCenter.ActivityCalendarManager.CheckNewActivityUnlock() or
XDataCenter.ActivityCalendarManager.CheckActivityReadyEnd()
if isShowRedPoint and XDataCenter.ActivityCalendarManager.CheckWeekIsClick() then
return false
end
return isShowRedPoint
end
return XRedPointConditionMainWeek