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

15 lines
No EOL
408 B
Lua

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