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

19 lines
No EOL
693 B
Lua

----------------------------------------------------------------
local XRedPointConditionMainNotice = {}
local SubConditions = nil
function XRedPointConditionMainNotice.Check()
return XRedPointConditionActivityNewAcitivies.Check() or XRedPointConditionActivityNewNotices.Check()
or XRedPointConditionActivityNewActivityNotices.Check()
end
function XRedPointConditionMainNotice.GetSubConditions()
return SubConditions or {
XRedPointConditions.Types.CONDITION_ACTIVITY_NEW_ACTIVITIES,
XRedPointConditions.Types.CONDITION_ACTIVITY_NEW_NOTICES,
XRedPointConditions.Types.CONDITION_ACTIVITY_NEW_ACTIVITY_NOTICES,
}
end
return XRedPointConditionMainNotice