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

18 lines
543 B
Lua
Raw Normal View History

2022-12-26 08:36:01 +00:00
----------------------------------------------------------------
--关卡解锁
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