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

18 lines
510 B
Lua
Raw Normal View History

2022-12-26 08:36:01 +00:00
----------------------------------------------------------------
--节红点检测
local XRedPointConditionBfrtChapterReward = {}
local Events = nil
function XRedPointConditionBfrtChapterReward.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENT_FINISH_TASK)
}
return Events
end
function XRedPointConditionBfrtChapterReward.Check(chapterId)
return XDataCenter.BfrtManager.CheckAnyTaskRewardCanGet(chapterId)
end
return XRedPointConditionBfrtChapterReward