PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionMainNotice.lua
2024-09-01 22:49:41 +02:00

19 lines
No EOL
695 B
Lua

----------------------------------------------------------------
local XRedPointConditionMainNotice = {}
local SubConditions = nil
function XRedPointConditionMainNotice.Check()
-- XRedPointConditionActivityNewAcitivies.Check()
return 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