PGRData/Resources/Scripts/XRedPoint/XRedPointConditions/XRedPointConditionExperimentChapterReward.lua
2022-12-26 14:06:01 +05:30

19 lines
No EOL
650 B
Lua

----------------------------------------------------------------
--试玩关有可领取的奖励
local XRedPointConditionExperimentChapterReward = {}
local Events = nil
function XRedPointConditionExperimentChapterReward.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENT_UPDATE_EXPERIMENT),
XRedPointEventElement.New(XEventId.EVENT_EXPERIMENT_GET_STAR_REWARD),
}
return Events
end
function XRedPointConditionExperimentChapterReward.Check(trialLevelInfo)
return XDataCenter.FubenExperimentManager.CheckBannerRedPoint(trialLevelInfo)
end
return XRedPointConditionExperimentChapterReward