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

16 lines
527 B
Lua
Raw Normal View History

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