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