PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionDragPuzzleSwitch.lua

17 lines
No EOL
540 B
Lua

----------------------------------------------------------------
--预热关拼图小游戏碎片转化红点
local XRedPointConditionDragPuzzleSwitch = {}
local Events = nil
function XRedPointConditionDragPuzzleSwitch.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENT_DRAG_PUZZLE_GAME_GET_PIECE),
}
return Events
end
function XRedPointConditionDragPuzzleSwitch.Check()
return XDataCenter.FubenActivityPuzzleManager.CheckSwitchRedPoint()
end
return XRedPointConditionDragPuzzleSwitch