PGRData/Resources/Scripts/XRedPoint/XRedPointConditions/XRedPointConditionMainSet.lua
2022-12-26 14:06:01 +05:30

17 lines
No EOL
486 B
Lua

----------------------------------------------------------------
--检测设置自定义键位冲突
local XRedPointConditionMainSet = {}
local Events = nil
function XRedPointConditionMainSet.GetSubEvents()
Events = Events or
{
XRedPointEventElement.New(XEventId.EVENT_CUSTOM_UI_SCHEME_CHANGED)
}
return Events
end
function XRedPointConditionMainSet.Check()
return CS.XRLFightSettings.UiConflict
end
return XRedPointConditionMainSet