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

15 lines
408 B
Lua
Raw Normal View History

----------------------------------------------------------------
--角色解锁红点检测
local XRedPointConditionCharacterUnlock = {}
function XRedPointConditionCharacterUnlock.Check(characterId)
if not characterId then
return false
end
local canUnlock = XDataCenter.CharacterManager:CanCharacterUnlock(characterId)
return canUnlock
end
return XRedPointConditionCharacterUnlock