PGRData/Resources/Scripts/XRedPoint/XRedPointConditions/XRedPointConditionRpgTowerTaskRed.lua

15 lines
437 B
Lua
Raw Normal View History

2022-12-26 08:36:01 +00:00
-- 有可领取奖励的任务时红点
local XRedPointConditionRpgTowerTaskRed = {}
local Events = nil
function XRedPointConditionRpgTowerTaskRed.GetSubEvents()
Events = Events or {
XRedPointEventElement.New(XEventId.EVENT_TASK_SYNC)
}
return Events
end
function XRedPointConditionRpgTowerTaskRed.Check()
return XDataCenter.TaskManager.GetRpgTowerHaveAchievedTask()
end
return XRedPointConditionRpgTowerTaskRed