forked from endernon/PGRData
15 lines
437 B
Lua
15 lines
437 B
Lua
|
-- 有可领取奖励的任务时红点
|
||
|
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
|