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

18 lines
No EOL
417 B
Lua

-- 红点条件检测器
--默认
local XRedPointConditionAssign = {}
local Events = nil
function XRedPointConditionAssign.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENET_ASSIGN_CAN_REWARD),
}
return Events
end
--检测
function XRedPointConditionAssign.Check()
return XDataCenter.FubenAssignManager.CheckIsShowRedPoint()
end
return XRedPointConditionAssign