2023-07-15 02:35:33 +07:00
|
|
|
|
|
|
|
----------------------------------------------------------------
|
|
|
|
local XRedPointConditionMainNotice = {}
|
|
|
|
local SubConditions = nil
|
|
|
|
|
|
|
|
function XRedPointConditionMainNotice.Check()
|
2024-09-01 22:49:41 +02:00
|
|
|
-- XRedPointConditionActivityNewAcitivies.Check()
|
|
|
|
return XRedPointConditionActivityNewNotices.Check() or XRedPointConditionActivityNewActivityNotices.Check()
|
2023-07-15 02:35:33 +07:00
|
|
|
end
|
|
|
|
|
|
|
|
function XRedPointConditionMainNotice.GetSubConditions()
|
|
|
|
return SubConditions or {
|
2024-09-01 22:49:41 +02:00
|
|
|
--XRedPointConditions.Types.CONDITION_ACTIVITY_NEW_ACTIVITIES,
|
2023-07-15 02:35:33 +07:00
|
|
|
XRedPointConditions.Types.CONDITION_ACTIVITY_NEW_NOTICES,
|
|
|
|
XRedPointConditions.Types.CONDITION_ACTIVITY_NEW_ACTIVITY_NOTICES,
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
return XRedPointConditionMainNotice
|