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

16 lines
527 B
Lua
Raw Normal View History

2022-12-26 14:06:01 +05:30
----------------------------------------------------------------
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