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

15 lines
408 B
Lua
Raw Normal View History

2022-12-26 14:06:01 +05:30
----------------------------------------------------------------
--角色解锁红点检测
local XRedPointConditionCharacterUnlock = {}
function XRedPointConditionCharacterUnlock.Check(characterId)
if not characterId then
return false
end
local canUnlock = XDataCenter.CharacterManager:CanCharacterUnlock(characterId)
return canUnlock
end
return XRedPointConditionCharacterUnlock