2023-07-14 19:35:33 +00:00
|
|
|
|
|
|
|
----------------------------------------------------------------
|
|
|
|
--角色解锁红点检测
|
|
|
|
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)
|
2023-07-14 19:35:33 +00:00
|
|
|
return canUnlock
|
|
|
|
end
|
|
|
|
|
|
|
|
return XRedPointConditionCharacterUnlock
|