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

16 lines
No EOL
486 B
Lua

----------------------------------------------------------------
local XRedPointConditionSubMenuNewNotices = {}
local Events = nil
function XRedPointConditionSubMenuNewNotices.GetSubEvents()
Events = Events or {
XRedPointEventElement.New(XEventId.EVENT_ACTIVITY_SUBMENU_READ_CHANGE),
}
return Events
end
function XRedPointConditionSubMenuNewNotices.Check()
return XDataCenter.NoticeManager.CheckSubMenuRedPoint()
end
return XRedPointConditionSubMenuNewNotices