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

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