PGRData/Script/matrix/xredpoint/xredpointconditions/XRedPointConditionChapterSectionReward.lua

18 lines
551 B
Lua
Raw Normal View History

----------------------------------------------------------------
--节红点检测
local XRedPointConditionChapterSectionReward = {}
local Events = nil
function XRedPointConditionChapterSectionReward.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENT_FUBEN_CHAPTER_SECTION_REWARD)
}
return Events
end
function XRedPointConditionChapterSectionReward.Check(sectionId)
return XDataCenter.FubenMainLineManager.CheckSectionTreasureReward(sectionId)
end
return XRedPointConditionChapterSectionReward