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

17 lines
482 B
Lua
Raw Normal View History

2022-12-26 14:06:01 +05:30
----------------------------------------------------------------
--单个类型任务奖励检测
local XRedPointConditionTaskCourse = {}
local Events = nil
function XRedPointConditionTaskCourse.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENT_TASK_COURSE_REWAED),
}
return Events
end
function XRedPointConditionTaskCourse.Check()
return XDataCenter.TaskManager.CheckAllCourseCanGet()
end
return XRedPointConditionTaskCourse