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

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