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

17 lines
No EOL
554 B
Lua

-- 春节对联小游戏奖励红点
local XRedPointConditionCoupletGameRewardTask = {}
local Events = nil
function XRedPointConditionCoupletGameRewardTask.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENT_COUPLET_GAME_COMPLETE),
XRedPointEventElement.New(XEventId.EVENT_COUPLET_GAME_FINISH_TASK),
}
return Events
end
function XRedPointConditionCoupletGameRewardTask.Check()
return XDataCenter.CoupletGameManager.CheckRewardTaskRedPoint()
end
return XRedPointConditionCoupletGameRewardTask