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

18 lines
No EOL
543 B
Lua

----------------------------------------------------------------
--关卡解锁
local XRedPointConditionTrialUnlock = {}
local Events = nil
function XRedPointConditionTrialUnlock.GetSubEvents()
Events = Events or {
XRedPointEventElement.New(XEventId.EVENT_TRIAL_LEVEL_FINISH),
XRedPointEventElement.New(XEventId.EVENT_PLAYER_LEVEL_CHANGE),
}
return Events
end
function XRedPointConditionTrialUnlock.Check()
return XDataCenter.TrialManager.TrialLevelLockSignRedPoint()
end
return XRedPointConditionTrialUnlock