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

16 lines
495 B
Lua
Raw Normal View History

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