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

18 lines
465 B
Lua
Raw Normal View History

----------------------------------------------------------------
--角色解锁红点检测
local XRedPointConditionCharacterUnlock = {}
function XRedPointConditionCharacterUnlock.Check(characterId)
if not characterId then
return false
end
2024-09-01 20:49:41 +00:00
---@type XCharacterAgency
local ag = XMVCA:GetAgency(ModuleId.XCharacter)
local canUnlock = ag:CanCharacterUnlock(characterId)
return canUnlock
end
return XRedPointConditionCharacterUnlock