16 lines
486 B
Lua
16 lines
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
|