2023-07-14 19:35:33 +00:00
|
|
|
|
|
|
|
----------------------------------------------------------------
|
|
|
|
--角色技能红点检测
|
|
|
|
local XRedPointConditionCharacterEnhanceSkill = {}
|
|
|
|
local Events = nil
|
|
|
|
function XRedPointConditionCharacterEnhanceSkill.GetSubEvents()--TODO需要写具体逻辑
|
|
|
|
Events = Events or
|
|
|
|
{
|
|
|
|
XRedPointEventElement.New(XEventId.EVENT_CHARACTER_LEVEL_UP),
|
|
|
|
XRedPointEventElement.New(XEventId.EVENT_CHARACTER_ENHANCESKILL_UP),
|
|
|
|
XRedPointEventElement.New(XEventId.EVENT_CHARACTER_ENHANCESKILL_UNLOCK),
|
|
|
|
}
|
|
|
|
return Events
|
|
|
|
end
|
|
|
|
|
|
|
|
function XRedPointConditionCharacterEnhanceSkill.Check(characterId)
|
|
|
|
if not characterId then
|
|
|
|
return false
|
|
|
|
end
|
|
|
|
|
|
|
|
if not XFunctionManager.JudgeOpen(XFunctionManager.FunctionName.CharacterEnhanceSkill) then
|
|
|
|
return false
|
|
|
|
end
|
|
|
|
|
2024-09-01 20:49:41 +00:00
|
|
|
return XDataCenter.CharacterManager.CheckCharacterEnhanceSkillShowRed(characterId)
|
2023-07-14 19:35:33 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
return XRedPointConditionCharacterEnhanceSkill
|