PGRData/Resources/Scripts/XRedPoint/XRedPointConditions/XRedPointConditionActivityNewAcitivies.lua
2022-12-26 14:06:01 +05:30

19 lines
No EOL
719 B
Lua

----------------------------------------------------------------
local XRedPointConditionActivityNewAcitivies = {}
local Events = nil
function XRedPointConditionActivityNewAcitivies.GetSubEvents()
Events = Events or {
XRedPointEventElement.New(XEventId.EVENT_ACTIVITY_ACTIVITIES_READ_CHANGE),
XRedPointEventElement.New(XEventId.EVENT_REGRESSION_SEND_INVITATION_INFO_UPDATE),
XRedPointEventElement.New(XEventId.EVENT_ACTIVITY_INFO_UPDATE),
XRedPointEventElement.New(XEventId.EVENT_TASK_SYNC),
}
return Events
end
function XRedPointConditionActivityNewAcitivies.Check()
return XDataCenter.ActivityManager.CheckRedPoint()
end
return XRedPointConditionActivityNewAcitivies