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

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