PGRData/Resources/Scripts/XRedPoint/XRedPointConditions/XRedPointConditionActivityNewNotices.lua
2022-12-26 14:06:01 +05:30

16 lines
No EOL
495 B
Lua

----------------------------------------------------------------
local XRedPointConditionActivityNewNotices = {}
local Events = nil
function XRedPointConditionActivityNewNotices.GetSubEvents()
Events = Events or {
XRedPointEventElement.New(XEventId.EVENT_ACTIVITY_NOTICE_READ_CHANGE),
}
return Events
end
function XRedPointConditionActivityNewNotices.Check()
return XDataCenter.NoticeManager.CheckInGameNoticeRedPoint(1)
end
return XRedPointConditionActivityNewNotices