forked from endernon/PGRData
28 lines
No EOL
652 B
Lua
28 lines
No EOL
652 B
Lua
|
|
local XRedPointConditionGuildInformation = {}
|
|
|
|
local SubCondition = nil
|
|
function XRedPointConditionGuildInformation.GetSubConditions()
|
|
SubCondition = SubCondition or {
|
|
XRedPointConditions.Types.CONDITION_GUILD_APPLYLIST,
|
|
XRedPointConditions.Types.CONDITION_GUILD_ACTIVEGIFT,
|
|
}
|
|
return SubCondition
|
|
end
|
|
|
|
function XRedPointConditionGuildInformation.Check()
|
|
-- 礼包红点
|
|
if XRedPointConditionGuildActiveGift.Check() then
|
|
return true
|
|
end
|
|
-- 招募红点
|
|
if XRedPointConditionGuildApplyList.Check() then
|
|
return true
|
|
end
|
|
|
|
return false
|
|
end
|
|
|
|
|
|
|
|
return XRedPointConditionGuildInformation |