PGRData/Resources/Scripts/XRedPoint/XRedPointConditions/XRedPointConditionActivityNewActivityNotices.lua

16 lines
527 B
Lua
Raw Normal View History

2022-12-26 08:36:01 +00:00
----------------------------------------------------------------
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