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

19 lines
651 B
Lua
Raw Normal View History

2022-12-26 08:36:01 +00:00
----------------------------------------------------------------
--新手任务奖励检测
local XRedPointConditionMainLineExploreItem = {}
local Events = nil
function XRedPointConditionMainLineExploreItem.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENT_MAINLINE_EXPLORE_ITEM_GET),
XRedPointEventElement.New(XEventId.EVENT_MAINLINE_EXPLORE_ITEMBOX_CLOSE),
}
return Events
end
function XRedPointConditionMainLineExploreItem.Check(mainChapterId)
return XDataCenter.FubenMainLineManager.CheckHaveNewExploreItemByChapterId(mainChapterId)
end
return XRedPointConditionMainLineExploreItem