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

15 lines
No EOL
483 B
Lua

local XRedPointConditionShortStoryTreasure = {}
local Events = nil
function XRedPointConditionShortStoryTreasure.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENT_FUBEN_SHORT_STORY_CHAPTER_REWARD)
}
return Events
end
function XRedPointConditionShortStoryTreasure.Check(chapterId)
return XDataCenter.ShortStoryChapterManager.CheckTreasureReward(chapterId)
end
return XRedPointConditionShortStoryTreasure