diff --git a/ESOXMLAPI.lua b/ESOXMLAPI.lua new file mode 100644 index 0000000..2695645 --- /dev/null +++ b/ESOXMLAPI.lua @@ -0,0 +1,263 @@ +addressMode = {type = "keyword"}, +allowBringToTop = {type = "keyword"}, +alpha = {type = "keyword"}, +anchorIndex = {type = "keyword"}, +autoAdjustTextureCoords = {type = "keyword"}, +barAlignment = {type = "keyword"}, +blendMode = {type = "keyword"}, +cellsHigh = {type = "keyword"}, +cellsWide = {type = "keyword"}, +centerColor = {type = "keyword"}, +clampedToScreen = {type = "keyword"}, +clickSound = {type = "keyword"}, +color = {type = "keyword"}, +delay = {type = "keyword"}, +deltaX = {type = "keyword"}, +deltaXFromEnd = {type = "keyword"}, +deltaY = {type = "keyword"}, +deltaYFromEnd = {type = "keyword"}, +deltaZ = {type = "keyword"}, +deltaZFromEnd = {type = "keyword"}, +disabled = {type = "keyword"}, +disabledColor = {type = "keyword"}, +disabledPressed = {type = "keyword"}, +disabledPressedColor = {type = "keyword"}, +dragFromThumb = {type = "keyword"}, +drawLastEntryIfOutOfRoom = {type = "keyword"}, +duration = {type = "keyword"}, +edgeColor = {type = "keyword"}, +editEnabled = {type = "keyword"}, +enableFadeOut = {type = "keyword"}, +endAlpha = {type = "keyword"}, +endCapWidth = {type = "keyword"}, +endColor = {type = "keyword"}, +endHeight = {type = "keyword"}, +endPitch = {type = "keyword"}, +endRoll = {type = "keyword"}, +endRotation = {type = "keyword"}, +endScale = {type = "keyword"}, +endWidth = {type = "keyword"}, +endX = {type = "keyword"}, +endY = {type = "keyword"}, +endYaw = {type = "keyword"}, +endZ = {type = "keyword"}, +excludeFromResizeToFitExtents = {type = "keyword"}, +fadeOutGainColor = {type = "keyword"}, +fadeOutLossColor = {type = "keyword"}, +fadeOutTextureFile = {type = "keyword"}, +fillColor = {type = "keyword"}, +font = {type = "keyword"}, +framerate = {type = "keyword"}, +headerRowSpacing = {type = "keyword"}, +headerVerticalOffset = {type = "keyword"}, +hidden = {type = "keyword"}, +horizontalAlignment = {type = "keyword"}, +id = {type = "keyword"}, +inheritAlpha = {type = "keyword"}, +inheritScale = {type = "keyword"}, +inherits = {type = "keyword"}, +integralWrapping = {type = "keyword"}, +keyboardEnabled = {type = "keyword"}, +layer = {type = "keyword"}, +leadingEdgeTexture = {type = "keyword"}, +level = {type = "keyword"}, +lineSpacing = {type = "keyword"}, +linkEnabled = {type = "keyword"}, +loopCount = {type = "keyword"}, +maxHistoryLines = {type = "keyword"}, +maxInputCharacters = {type = "keyword"}, +maxLineCount = {type = "keyword"}, +mirrorAlongX = {type = "keyword"}, +mirrorAlongY = {type = "keyword"}, +modifyTextType = {type = "keyword"}, +mouseEnabled = {type = "keyword"}, +mouseOver = {type = "keyword"}, +mouseOverBlendMode = {type = "keyword"}, +mouseOverColor = {type = "keyword"}, +movable = {type = "keyword"}, +multiLine = {type = "keyword"}, +newLineEnabled = {type = "keyword"}, +newLineIndent = {type = "keyword"}, +normal = {type = "keyword"}, +normalColor = {type = "keyword"}, +orientation = {type = "keyword"}, +pinFont = {type = "keyword"}, +pixelRoundingEnabled = {type = "keyword"}, +playbackType = {type = "keyword"}, +pressed = {type = "keyword"}, +pressedColor = {type = "keyword"}, +pressedMouseOver = {type = "keyword"}, +radialCooldownClockwise = {type = "keyword"}, +radialCooldownOriginAngle = {type = "keyword"}, +resizeHandleSize = {type = "keyword"}, +resizeToFitDescendents = {type = "keyword"}, +resizeToFitFile = {type = "keyword"}, +scale = {type = "keyword"}, +selectionColor = {type = "keyword"}, +shape = {type = "keyword"}, +splitLongMessages = {type = "keyword"}, +startAlpha = {type = "keyword"}, +startColor = {type = "keyword"}, +startHeight = {type = "keyword"}, +startPitch = {type = "keyword"}, +startRoll = {type = "keyword"}, +startRotation = {type = "keyword"}, +startScale = {type = "keyword"}, +startWidth = {type = "keyword"}, +startX = {type = "keyword"}, +startY = {type = "keyword"}, +startYaw = {type = "keyword"}, +startZ = {type = "keyword"}, +step = {type = "keyword"}, +styleColor = {type = "keyword"}, +text = {type = "keyword"}, +textType = {type = "keyword"}, +textureCoordsRotation = {type = "keyword"}, +textureFile = {type = "keyword"}, +textureFileReleaseOption = {type = "keyword"}, +thickness = {type = "keyword"}, +tier = {type = "keyword"}, +topmost = {type = "keyword"}, +verticalAlignment = {type = "keyword"}, +wrapMode = {type = "keyword"}, +Anchor = {type = "keyword"}, +AnchorFill = {type = "keyword"}, +AnchorToBaseline = {type = "keyword"}, +AnimationBase = {type = "keyword"}, +AnimationTimeline = {type = "keyword"}, +Animations = {type = "keyword"}, +Backdrop = {type = "keyword"}, +BackgroundBottom = {type = "keyword"}, +BackgroundMiddle = {type = "keyword"}, +BackgroundTop = {type = "keyword"}, +Browser = {type = "keyword"}, +Button = {type = "keyword"}, +ButtonState = {type = "keyword"}, +Callback = {type = "keyword"}, +Callbacks = {type = "keyword"}, +Center = {type = "keyword"}, +ClampedToScreenInsets = {type = "keyword"}, +ClearAnchors = {type = "keyword"}, +ColorAnimation = {type = "keyword"}, +ColorSelect = {type = "keyword"}, +Compass = {type = "keyword"}, +CompassPinType = {type = "keyword"}, +Control = {type = "keyword"}, +Controls = {type = "keyword"}, +Cooldown = {type = "keyword"}, +CustomAnimation = {type = "keyword"}, +DebugText = {type = "keyword"}, +DimensionConstraints = {type = "keyword"}, +Dimensions = {type = "keyword"}, +EasingFunction = {type = "keyword"}, +Edge = {type = "keyword"}, +EditBox = {type = "keyword"}, +FadeGradient = {type = "keyword"}, +Font = {type = "keyword"}, +FontColors = {type = "keyword"}, +GuiXml = {type = "keyword"}, +HitInsets = {type = "keyword"}, +Insets = {type = "keyword"}, +Label = {type = "keyword"}, +LeadingEdge = {type = "keyword"}, +LeadingEdgeTextureCoords = {type = "keyword"}, +Limits = {type = "keyword"}, +Line = {type = "keyword"}, +LineFade = {type = "keyword"}, +LocalDimensions3D = {type = "keyword"}, +MapDisplay = {type = "keyword"}, +MapGutter = {type = "keyword"}, +MapPinType = {type = "keyword"}, +MouseButton = {type = "keyword"}, +NormalOffset = {type = "keyword"}, +OnAddGameData = {type = "keyword"}, +OnBackspace = {type = "keyword"}, +OnChar = {type = "keyword"}, +OnCleared = {type = "keyword"}, +OnClicked = {type = "keyword"}, +OnColorSelected = {type = "keyword"}, +OnDownArrow = {type = "keyword"}, +OnDragStart = {type = "keyword"}, +OnDurationChanged = {type = "keyword"}, +OnEffectivelyHidden = {type = "keyword"}, +OnEffectivelyShown = {type = "keyword"}, +OnEnabledStateChanged = {type = "keyword"}, +OnEnter = {type = "keyword"}, +OnEscape = {type = "keyword"}, +OnFocusGained = {type = "keyword"}, +OnFocusLost = {type = "keyword"}, +OnHide = {type = "keyword"}, +OnIMEBeginComposition = {type = "keyword"}, +OnIMEEndComposition = {type = "keyword"}, +OnInitialized = {type = "keyword"}, +OnInsertAnimationTimelineCallback = {type = "keyword"}, +OnKeyDown = {type = "keyword"}, +OnKeyUp = {type = "keyword"}, +OnLinkClicked = {type = "keyword"}, +OnLinkMouseUp = {type = "keyword"}, +OnLoadFinished = {type = "keyword"}, +OnLoadStart = {type = "keyword"}, +OnMinMaxValueChanged = {type = "keyword"}, +OnMouseDoubleClick = {type = "keyword"}, +OnMouseDown = {type = "keyword"}, +OnMouseEnter = {type = "keyword"}, +OnMouseExit = {type = "keyword"}, +OnMouseUp = {type = "keyword"}, +OnMouseWheel = {type = "keyword"}, +OnMoveStart = {type = "keyword"}, +OnMoveStop = {type = "keyword"}, +OnPageDown = {type = "keyword"}, +OnPageUp = {type = "keyword"}, +OnPlay = {type = "keyword"}, +OnPlay = {type = "keyword"}, +OnReceiveDrag = {type = "keyword"}, +OnRequestClose = {type = "keyword"}, +OnResizeStart = {type = "keyword"}, +OnResizeStop = {type = "keyword"}, +OnResizedToFit = {type = "keyword"}, +OnScrollExtentsChanged = {type = "keyword"}, +OnScrollOffsetChanged = {type = "keyword"}, +OnSetAnimationEaseFunction = {type = "keyword"}, +OnSetAnimationEventHandler = {type = "keyword"}, +OnSetAnimationTimelineEventHandler = {type = "keyword"}, +OnSetControlEventHandler = {type = "keyword"}, +OnSetUpdateFunction = {type = "keyword"}, +OnShow = {type = "keyword"}, +OnSliderReleased = {type = "keyword"}, +OnSpace = {type = "keyword"}, +OnStop = {type = "keyword"}, +OnStop = {type = "keyword"}, +OnTab = {type = "keyword"}, +OnTextChanged = {type = "keyword"}, +OnTextureLoaded = {type = "keyword"}, +OnUpArrow = {type = "keyword"}, +OnUpdate = {type = "keyword"}, +OnUserAreaCreated = {type = "keyword"}, +OnValueChanged = {type = "keyword"}, +OnVisibleRadiusChanged = {type = "keyword"}, +PressedOffset = {type = "keyword"}, +RadialCooldownGradient = {type = "keyword"}, +ResizeToFitPadding = {type = "keyword"}, +Rotate3DAnimation = {type = "keyword"}, +ScaleAnimation = {type = "keyword"}, +Scroll = {type = "keyword"}, +ScrollingOverlay = {type = "keyword"}, +SizeAnimation = {type = "keyword"}, +Slider = {type = "keyword"}, +StatusBar = {type = "keyword"}, +String = {type = "keyword"}, +Surface = {type = "keyword"}, +TextBuffer = {type = "keyword"}, +Texture = {type = "keyword"}, +TextureAnimation = {type = "keyword"}, +TextureComposite = {type = "keyword"}, +TextureCoords = {type = "keyword"}, +TextureRotateAnimation = {type = "keyword"}, +Textures = {type = "keyword"}, +ThumbTexture = {type = "keyword"}, +Tooltip = {type = "keyword"}, +TopLevelControl = {type = "keyword"}, +Translate3DAnimation = {type = "keyword"}, +TranslateAnimation = {type = "keyword"}, +UpdateFunction = {type = "keyword"}, +sentinel = {type = "keyword"}, diff --git a/ESOXMLKeywordList.txt b/ESOXMLKeywordList.txt index 964356f..0c7a4d9 100644 --- a/ESOXMLKeywordList.txt +++ b/ESOXMLKeywordList.txt @@ -1 +1 @@ - addressMode allowBringToTop alpha anchorIndex autoAdjustTextureCoords barAlignment blendMode cellsHigh cellsWide centerColor clampedToScreen clickSound color delay deltaX deltaXFromEnd deltaY deltaYFromEnd deltaZ deltaZFromEnd disabled disabledColor disabledPressed disabledPressedColor dragFromThumb drawLastEntryIfOutOfRoom duration edgeColor editEnabled enableFadeOut endAlpha endCapWidth endColor endHeight endPitch endRoll endRotation endScale endWidth endX endY endYaw endZ excludeFromResizeToFitExtents fadeOutGainColor fadeOutLossColor fadeOutTextureFile fillColor font framerate headerRowSpacing headerVerticalOffset hidden horizontalAlignment id inheritAlpha inheritScale inherits integralWrapping keyboardEnabled layer leadingEdgeTexture level lineSpacing linkEnabled loopCount maxHistoryLines maxInputCharacters maxLineCount mirrorAlongX mirrorAlongY modifyTextType mouseEnabled mouseOver mouseOverBlendMode mouseOverColor movable multiLine newLineEnabled newLineIndent normal normalColor orientation pinFont pixelRoundingEnabled playbackType pressed pressedColor pressedMouseOver radialCooldownClockwise radialCooldownOriginAngle resizeHandleSize resizeToFitDescendents resizeToFitFile scale selectionColor shape splitLongMessages startAlpha startColor startHeight startPitch startRoll startRotation startScale startWidth startX startY startYaw startZ step styleColor text textType textureCoordsRotation textureFile textureFileReleaseOption thickness tier topmost verticalAlignment wrapMode Anchor AnchorFill AnchorToBaseline AnimationBase AnimationTimeline Animations Backdrop BackgroundBottom BackgroundMiddle BackgroundTop Browser Button ButtonState Callback Callbacks Center ClampedToScreenInsets ClearAnchors ColorAnimation ColorSelect Compass CompassPinType Control Controls Cooldown CustomAnimation DebugText DimensionConstraints Dimensions EasingFunction Edge EditBox FadeGradient Font FontColors GuiXml HitInsets Insets Label LeadingEdge LeadingEdgeTextureCoords Limits Line LineFade LocalDimensions3D MapDisplay MapGutter MapPinType MouseButton NormalOffset OnAddGameData OnBackspace OnChar OnCleared OnClicked OnColorSelected OnDownArrow OnDragStart OnDurationChanged OnEffectivelyHidden OnEffectivelyShown OnEnabledStateChanged OnEnter OnEscape OnFocusGained OnFocusLost OnHide OnIMEBeginComposition OnIMEEndComposition OnInitialized OnInsertAnimationTimelineCallback OnKeyDown OnKeyUp OnLinkClicked OnLinkMouseUp OnLoadFinished OnLoadStart OnMinMaxValueChanged OnMouseDoubleClick OnMouseDown OnMouseEnter OnMouseExit OnMouseUp OnMouseWheel OnMoveStart OnMoveStop OnPageDown OnPageUp OnPlay OnPlay OnReceiveDrag OnRequestClose OnResizeStart OnResizeStop OnResizedToFit OnScrollExtentsChanged OnScrollOffsetChanged OnSetAnimationEaseFunction OnSetAnimationEventHandler OnSetAnimationTimelineEventHandler OnSetControlEventHandler OnSetUpdateFunction OnShow OnSliderReleased OnSpace OnStop OnStop OnTab OnTextChanged OnTextureLoaded OnUpArrow OnUpdate OnUserAreaCreated OnValueChanged OnVisibleRadiusChanged PressedOffset RadialCooldownGradient ResizeToFitPadding Rotate3DAnimation ScaleAnimation Scroll ScrollingOverlay SizeAnimation Slider StatusBar String Surface TextBuffer Texture TextureAnimation TextureComposite TextureCoords TextureRotateAnimation Textures ThumbTexture Tooltip TopLevelControl Translate3DAnimation TranslateAnimation UpdateFunction sentinel \ No newline at end of file +addressMode allowBringToTop alpha anchorIndex autoAdjustTextureCoords barAlignment blendMode cellsHigh cellsWide centerColor clampedToScreen clickSound color delay deltaX deltaXFromEnd deltaY deltaYFromEnd deltaZ deltaZFromEnd disabled disabledColor disabledPressed disabledPressedColor dragFromThumb drawLastEntryIfOutOfRoom duration edgeColor editEnabled enableFadeOut endAlpha endCapWidth endColor endHeight endPitch endRoll endRotation endScale endWidth endX endY endYaw endZ excludeFromResizeToFitExtents fadeOutGainColor fadeOutLossColor fadeOutTextureFile fillColor font framerate headerRowSpacing headerVerticalOffset hidden horizontalAlignment id inheritAlpha inheritScale inherits integralWrapping keyboardEnabled layer leadingEdgeTexture level lineSpacing linkEnabled loopCount maxHistoryLines maxInputCharacters maxLineCount mirrorAlongX mirrorAlongY modifyTextType mouseEnabled mouseOver mouseOverBlendMode mouseOverColor movable multiLine newLineEnabled newLineIndent normal normalColor orientation pinFont pixelRoundingEnabled playbackType pressed pressedColor pressedMouseOver radialCooldownClockwise radialCooldownOriginAngle resizeHandleSize resizeToFitDescendents resizeToFitFile scale selectionColor shape splitLongMessages startAlpha startColor startHeight startPitch startRoll startRotation startScale startWidth startX startY startYaw startZ step styleColor text textType textureCoordsRotation textureFile textureFileReleaseOption thickness tier topmost verticalAlignment wrapMode Anchor AnchorFill AnchorToBaseline AnimationBase AnimationTimeline Animations Backdrop BackgroundBottom BackgroundMiddle BackgroundTop Browser Button ButtonState Callback Callbacks Center ClampedToScreenInsets ClearAnchors ColorAnimation ColorSelect Compass CompassPinType Control Controls Cooldown CustomAnimation DebugText DimensionConstraints Dimensions EasingFunction Edge EditBox FadeGradient Font FontColors GuiXml HitInsets Insets Label LeadingEdge LeadingEdgeTextureCoords Limits Line LineFade LocalDimensions3D MapDisplay MapGutter MapPinType MouseButton NormalOffset OnAddGameData OnBackspace OnChar OnCleared OnClicked OnColorSelected OnDownArrow OnDragStart OnDurationChanged OnEffectivelyHidden OnEffectivelyShown OnEnabledStateChanged OnEnter OnEscape OnFocusGained OnFocusLost OnHide OnIMEBeginComposition OnIMEEndComposition OnInitialized OnInsertAnimationTimelineCallback OnKeyDown OnKeyUp OnLinkClicked OnLinkMouseUp OnLoadFinished OnLoadStart OnMinMaxValueChanged OnMouseDoubleClick OnMouseDown OnMouseEnter OnMouseExit OnMouseUp OnMouseWheel OnMoveStart OnMoveStop OnPageDown OnPageUp OnPlay OnPlay OnReceiveDrag OnRequestClose OnResizeStart OnResizeStop OnResizedToFit OnScrollExtentsChanged OnScrollOffsetChanged OnSetAnimationEaseFunction OnSetAnimationEventHandler OnSetAnimationTimelineEventHandler OnSetControlEventHandler OnSetUpdateFunction OnShow OnSliderReleased OnSpace OnStop OnStop OnTab OnTextChanged OnTextureLoaded OnUpArrow OnUpdate OnUserAreaCreated OnValueChanged OnVisibleRadiusChanged PressedOffset RadialCooldownGradient ResizeToFitPadding Rotate3DAnimation ScaleAnimation Scroll ScrollingOverlay SizeAnimation Slider StatusBar String Surface TextBuffer Texture TextureAnimation TextureComposite TextureCoords TextureRotateAnimation Textures ThumbTexture Tooltip TopLevelControl Translate3DAnimation TranslateAnimation UpdateFunction sentinel \ No newline at end of file diff --git a/ZBS_API_Files/ESOAPIXMLPlugin.lua b/ZBS_API_Files/ESOAPIXMLPlugin.lua index a1e9e69..65f5251 100644 --- a/ZBS_API_Files/ESOAPIXMLPlugin.lua +++ b/ZBS_API_Files/ESOAPIXMLPlugin.lua @@ -1,8 +1,8 @@ local api = { EVENT_MANAGER = {type="class", childs = { -RegisterForEvent = {type="method", args="(*string* _YourAddonName_, *integer* _event_, *function* _callback_)", returns="(bool:success,)", valuetype="bool,"}, -UnregisterForEvent = {type="method", args="(*string* _YourAddonName_, *integer* _event_)", returns="(bool:success,)", valuetype="bool,"}, -AddFilterForEvent = {type="method", args="(*string* eventNamespace, *number* eventId[, RegisterForEventFilterType filterType, *varying* parameter])", returns="(bool:success,)", valuetype="bool,"} +RegisterForEvent = {type="method", args="(*string* _YourAddonName_, *integer* _event_, *function* _callback_)", returns="(bool:success,)",}, +UnregisterForEvent = {type="method", args="(*string* _YourAddonName_, *integer* _event_)", returns="(bool:success,)",}, +AddFilterForEvent = {type="method", args="(*string* eventNamespace, *number* eventId[, RegisterForEventFilterType filterType, *varying* parameter])", returns="(bool:success,)",} }}, ABILITY_TOOLTIP_TEXT_COLOR_ABILITY_INFO = { type = "value",}, @@ -29337,11 +29337,11 @@ args = "(*[MapDisplayPinType|#MapDisplayPinType]* _pinType_, *number* _leadingCo -AddFilterForEvent = {type = "function", -description = "", -args = "(*integer* _event_)", -returns = "(bool:success,)", -valuetype = "bool,",}, +--AddFilterForEvent = {type = "function", +--description = "", +--args = "(*integer* _event_)", +--returns = "(bool:success,)", +--valuetype = "bool,",}, ClearAnchors = {type = "function", description = "", @@ -29695,11 +29695,11 @@ args = "(*number* _x_, *number* _y_, *number* _leftOffset_, *number* _topOffset_ returns = "(bool:isInside,)", valuetype = "bool,",}, -RegisterForEvent = {type = "function", -description = "", -args = "(*integer* _event_, *function* _callback_)", -returns = "(bool:success,)", -valuetype = "bool,",}, +--RegisterForEvent = {type = "function", +--description = "", +--args = "(*integer* _event_, *function* _callback_)", +--returns = "(bool:success,)", +--valuetype = "bool,",}, Set3DRenderSpaceForward = {type = "function", description = "", @@ -29863,11 +29863,11 @@ ToggleHidden = {type = "function", description = "", args = "()",}, -UnregisterForEvent = {type = "function", -description = "", -args = "(*integer* _event_)", -returns = "(bool:success,)", -valuetype = "bool,",}, +--UnregisterForEvent = {type = "function", +--description = "", +--args = "(*integer* _event_)", +--returns = "(bool:success,)", +--valuetype = "bool,",}, @@ -33091,6 +33091,271 @@ EVENT_SHOW_GUI = { EVENT_UPDATE_GUI_LOADING_PROGRESS = { type = "value", valuetype = "event", description = "(*string* _guiName_, *integer* _assetsLoaded_, *integer* _assetsTotal_)"}, +addressMode = {type = "keyword"}, +allowBringToTop = {type = "keyword"}, +alpha = {type = "keyword"}, +anchorIndex = {type = "keyword"}, +autoAdjustTextureCoords = {type = "keyword"}, +barAlignment = {type = "keyword"}, +blendMode = {type = "keyword"}, +cellsHigh = {type = "keyword"}, +cellsWide = {type = "keyword"}, +centerColor = {type = "keyword"}, +clampedToScreen = {type = "keyword"}, +clickSound = {type = "keyword"}, +color = {type = "keyword"}, +delay = {type = "keyword"}, +deltaX = {type = "keyword"}, +deltaXFromEnd = {type = "keyword"}, +deltaY = {type = "keyword"}, +deltaYFromEnd = {type = "keyword"}, +deltaZ = {type = "keyword"}, +deltaZFromEnd = {type = "keyword"}, +disabled = {type = "keyword"}, +disabledColor = {type = "keyword"}, +disabledPressed = {type = "keyword"}, +disabledPressedColor = {type = "keyword"}, +dragFromThumb = {type = "keyword"}, +drawLastEntryIfOutOfRoom = {type = "keyword"}, +duration = {type = "keyword"}, +edgeColor = {type = "keyword"}, +editEnabled = {type = "keyword"}, +enableFadeOut = {type = "keyword"}, +endAlpha = {type = "keyword"}, +endCapWidth = {type = "keyword"}, +endColor = {type = "keyword"}, +endHeight = {type = "keyword"}, +endPitch = {type = "keyword"}, +endRoll = {type = "keyword"}, +endRotation = {type = "keyword"}, +endScale = {type = "keyword"}, +endWidth = {type = "keyword"}, +endX = {type = "keyword"}, +endY = {type = "keyword"}, +endYaw = {type = "keyword"}, +endZ = {type = "keyword"}, +excludeFromResizeToFitExtents = {type = "keyword"}, +fadeOutGainColor = {type = "keyword"}, +fadeOutLossColor = {type = "keyword"}, +fadeOutTextureFile = {type = "keyword"}, +fillColor = {type = "keyword"}, +font = {type = "keyword"}, +framerate = {type = "keyword"}, +headerRowSpacing = {type = "keyword"}, +headerVerticalOffset = {type = "keyword"}, +hidden = {type = "keyword"}, +horizontalAlignment = {type = "keyword"}, +id = {type = "keyword"}, +inheritAlpha = {type = "keyword"}, +inheritScale = {type = "keyword"}, +inherits = {type = "keyword"}, +integralWrapping = {type = "keyword"}, +keyboardEnabled = {type = "keyword"}, +layer = {type = "keyword"}, +leadingEdgeTexture = {type = "keyword"}, +level = {type = "keyword"}, +lineSpacing = {type = "keyword"}, +linkEnabled = {type = "keyword"}, +loopCount = {type = "keyword"}, +maxHistoryLines = {type = "keyword"}, +maxInputCharacters = {type = "keyword"}, +maxLineCount = {type = "keyword"}, +mirrorAlongX = {type = "keyword"}, +mirrorAlongY = {type = "keyword"}, +modifyTextType = {type = "keyword"}, +mouseEnabled = {type = "keyword"}, +mouseOver = {type = "keyword"}, +mouseOverBlendMode = {type = "keyword"}, +mouseOverColor = {type = "keyword"}, +movable = {type = "keyword"}, +multiLine = {type = "keyword"}, +newLineEnabled = {type = "keyword"}, +newLineIndent = {type = "keyword"}, +normal = {type = "keyword"}, +normalColor = {type = "keyword"}, +orientation = {type = "keyword"}, +pinFont = {type = "keyword"}, +pixelRoundingEnabled = {type = "keyword"}, +playbackType = {type = "keyword"}, +pressed = {type = "keyword"}, +pressedColor = {type = "keyword"}, +pressedMouseOver = {type = "keyword"}, +radialCooldownClockwise = {type = "keyword"}, +radialCooldownOriginAngle = {type = "keyword"}, +resizeHandleSize = {type = "keyword"}, +resizeToFitDescendents = {type = "keyword"}, +resizeToFitFile = {type = "keyword"}, +scale = {type = "keyword"}, +selectionColor = {type = "keyword"}, +shape = {type = "keyword"}, +splitLongMessages = {type = "keyword"}, +startAlpha = {type = "keyword"}, +startColor = {type = "keyword"}, +startHeight = {type = "keyword"}, +startPitch = {type = "keyword"}, +startRoll = {type = "keyword"}, +startRotation = {type = "keyword"}, +startScale = {type = "keyword"}, +startWidth = {type = "keyword"}, +startX = {type = "keyword"}, +startY = {type = "keyword"}, +startYaw = {type = "keyword"}, +startZ = {type = "keyword"}, +step = {type = "keyword"}, +styleColor = {type = "keyword"}, +text = {type = "keyword"}, +textType = {type = "keyword"}, +textureCoordsRotation = {type = "keyword"}, +textureFile = {type = "keyword"}, +textureFileReleaseOption = {type = "keyword"}, +thickness = {type = "keyword"}, +tier = {type = "keyword"}, +topmost = {type = "keyword"}, +verticalAlignment = {type = "keyword"}, +wrapMode = {type = "keyword"}, +Anchor = {type = "keyword"}, +AnchorFill = {type = "keyword"}, +AnchorToBaseline = {type = "keyword"}, +AnimationBase = {type = "keyword"}, +AnimationTimeline = {type = "keyword"}, +Animations = {type = "keyword"}, +Backdrop = {type = "keyword"}, +BackgroundBottom = {type = "keyword"}, +BackgroundMiddle = {type = "keyword"}, +BackgroundTop = {type = "keyword"}, +Browser = {type = "keyword"}, +Button = {type = "keyword"}, +ButtonState = {type = "keyword"}, +Callback = {type = "keyword"}, +Callbacks = {type = "keyword"}, +Center = {type = "keyword"}, +ClampedToScreenInsets = {type = "keyword"}, +ClearAnchors = {type = "keyword"}, +ColorAnimation = {type = "keyword"}, +ColorSelect = {type = "keyword"}, +Compass = {type = "keyword"}, +CompassPinType = {type = "keyword"}, +Control = {type = "keyword"}, +Controls = {type = "keyword"}, +Cooldown = {type = "keyword"}, +CustomAnimation = {type = "keyword"}, +DebugText = {type = "keyword"}, +DimensionConstraints = {type = "keyword"}, +Dimensions = {type = "keyword"}, +EasingFunction = {type = "keyword"}, +Edge = {type = "keyword"}, +EditBox = {type = "keyword"}, +FadeGradient = {type = "keyword"}, +Font = {type = "keyword"}, +FontColors = {type = "keyword"}, +GuiXml = {type = "keyword"}, +HitInsets = {type = "keyword"}, +Insets = {type = "keyword"}, +Label = {type = "keyword"}, +LeadingEdge = {type = "keyword"}, +LeadingEdgeTextureCoords = {type = "keyword"}, +Limits = {type = "keyword"}, +Line = {type = "keyword"}, +LineFade = {type = "keyword"}, +LocalDimensions3D = {type = "keyword"}, +MapDisplay = {type = "keyword"}, +MapGutter = {type = "keyword"}, +MapPinType = {type = "keyword"}, +MouseButton = {type = "keyword"}, +NormalOffset = {type = "keyword"}, +OnAddGameData = {type = "keyword"}, +OnBackspace = {type = "keyword"}, +OnChar = {type = "keyword"}, +OnCleared = {type = "keyword"}, +OnClicked = {type = "keyword"}, +OnColorSelected = {type = "keyword"}, +OnDownArrow = {type = "keyword"}, +OnDragStart = {type = "keyword"}, +OnDurationChanged = {type = "keyword"}, +OnEffectivelyHidden = {type = "keyword"}, +OnEffectivelyShown = {type = "keyword"}, +OnEnabledStateChanged = {type = "keyword"}, +OnEnter = {type = "keyword"}, +OnEscape = {type = "keyword"}, +OnFocusGained = {type = "keyword"}, +OnFocusLost = {type = "keyword"}, +OnHide = {type = "keyword"}, +OnIMEBeginComposition = {type = "keyword"}, +OnIMEEndComposition = {type = "keyword"}, +OnInitialized = {type = "keyword"}, +OnInsertAnimationTimelineCallback = {type = "keyword"}, +OnKeyDown = {type = "keyword"}, +OnKeyUp = {type = "keyword"}, +OnLinkClicked = {type = "keyword"}, +OnLinkMouseUp = {type = "keyword"}, +OnLoadFinished = {type = "keyword"}, +OnLoadStart = {type = "keyword"}, +OnMinMaxValueChanged = {type = "keyword"}, +OnMouseDoubleClick = {type = "keyword"}, +OnMouseDown = {type = "keyword"}, +OnMouseEnter = {type = "keyword"}, +OnMouseExit = {type = "keyword"}, +OnMouseUp = {type = "keyword"}, +OnMouseWheel = {type = "keyword"}, +OnMoveStart = {type = "keyword"}, +OnMoveStop = {type = "keyword"}, +OnPageDown = {type = "keyword"}, +OnPageUp = {type = "keyword"}, +OnPlay = {type = "keyword"}, +OnPlay = {type = "keyword"}, +OnReceiveDrag = {type = "keyword"}, +OnRequestClose = {type = "keyword"}, +OnResizeStart = {type = "keyword"}, +OnResizeStop = {type = "keyword"}, +OnResizedToFit = {type = "keyword"}, +OnScrollExtentsChanged = {type = "keyword"}, +OnScrollOffsetChanged = {type = "keyword"}, +OnSetAnimationEaseFunction = {type = "keyword"}, +OnSetAnimationEventHandler = {type = "keyword"}, +OnSetAnimationTimelineEventHandler = {type = "keyword"}, +OnSetControlEventHandler = {type = "keyword"}, +OnSetUpdateFunction = {type = "keyword"}, +OnShow = {type = "keyword"}, +OnSliderReleased = {type = "keyword"}, +OnSpace = {type = "keyword"}, +OnStop = {type = "keyword"}, +OnStop = {type = "keyword"}, +OnTab = {type = "keyword"}, +OnTextChanged = {type = "keyword"}, +OnTextureLoaded = {type = "keyword"}, +OnUpArrow = {type = "keyword"}, +OnUpdate = {type = "keyword"}, +OnUserAreaCreated = {type = "keyword"}, +OnValueChanged = {type = "keyword"}, +OnVisibleRadiusChanged = {type = "keyword"}, +PressedOffset = {type = "keyword"}, +RadialCooldownGradient = {type = "keyword"}, +ResizeToFitPadding = {type = "keyword"}, +Rotate3DAnimation = {type = "keyword"}, +ScaleAnimation = {type = "keyword"}, +Scroll = {type = "keyword"}, +ScrollingOverlay = {type = "keyword"}, +SizeAnimation = {type = "keyword"}, +Slider = {type = "keyword"}, +StatusBar = {type = "keyword"}, +String = {type = "keyword"}, +Surface = {type = "keyword"}, +TextBuffer = {type = "keyword"}, +Texture = {type = "keyword"}, +TextureAnimation = {type = "keyword"}, +TextureComposite = {type = "keyword"}, +TextureCoords = {type = "keyword"}, +TextureRotateAnimation = {type = "keyword"}, +Textures = {type = "keyword"}, +ThumbTexture = {type = "keyword"}, +Tooltip = {type = "keyword"}, +TopLevelControl = {type = "keyword"}, +Translate3DAnimation = {type = "keyword"}, +TranslateAnimation = {type = "keyword"}, +UpdateFunction = {type = "keyword"}, +sentinel = {type = "keyword"}, + + } local spec = { exts = {"xml"}, @@ -33135,7 +33400,7 @@ return { name = "ESOAPIXMLPlugin", description = "Elder Scrolls Autocomplete Plugin", author = "@Farangkao with update script for api and keywords by @Solvaring", - -- api = { }, -- "ESOAddonDev","baselib" + --api = {"ESOAPI"}, -- "ESOAddonDev","baselib" version = 1.0, onEditorLoad = function(self, editor) editor:SetProperty("html.tags.case.sensitive", "1") @@ -33147,6 +33412,7 @@ return { end, onRegister = function(self) + io.write("ESO Registered") ide:AddAPI("lua","ESOAPI", api) local keywords = self:GetConfig().keywords or [[ addressMode allowBringToTop alpha anchorIndex autoAdjustTextureCoords barAlignment blendMode cellsHigh cellsWide centerColor clampedToScreen clickSound color delay deltaX deltaXFromEnd deltaY deltaYFromEnd deltaZ deltaZFromEnd disabled disabledColor disabledPressed disabledPressedColor dragFromThumb drawLastEntryIfOutOfRoom duration edgeColor editEnabled enableFadeOut endAlpha endCapWidth endColor endHeight endPitch endRoll endRotation endScale endWidth endX endY endYaw endZ excludeFromResizeToFitExtents fadeOutGainColor fadeOutLossColor fadeOutTextureFile fillColor font framerate headerRowSpacing headerVerticalOffset hidden horizontalAlignment id inheritAlpha inheritScale inherits integralWrapping keyboardEnabled layer leadingEdgeTexture level lineSpacing linkEnabled loopCount maxHistoryLines maxInputCharacters maxLineCount mirrorAlongX mirrorAlongY modifyTextType mouseEnabled mouseOver mouseOverBlendMode mouseOverColor movable multiLine newLineEnabled newLineIndent normal normalColor orientation pinFont pixelRoundingEnabled playbackType pressed pressedColor pressedMouseOver radialCooldownClockwise radialCooldownOriginAngle resizeHandleSize resizeToFitDescendents resizeToFitFile scale selectionColor shape splitLongMessages startAlpha startColor startHeight startPitch startRoll startRotation startScale startWidth startX startY startYaw startZ step styleColor text textType textureCoordsRotation textureFile textureFileReleaseOption thickness tier topmost verticalAlignment wrapMode Anchor AnchorFill AnchorToBaseline AnimationBase AnimationTimeline Animations Backdrop BackgroundBottom BackgroundMiddle BackgroundTop Browser Button ButtonState Callback Callbacks Center ClampedToScreenInsets ClearAnchors ColorAnimation ColorSelect Compass CompassPinType Control Controls Cooldown CustomAnimation DebugText DimensionConstraints Dimensions EasingFunction Edge EditBox FadeGradient Font FontColors GuiXml HitInsets Insets Label LeadingEdge LeadingEdgeTextureCoords Limits Line LineFade LocalDimensions3D MapDisplay MapGutter MapPinType MouseButton NormalOffset OnAddGameData OnBackspace OnChar OnCleared OnClicked OnColorSelected OnDownArrow OnDragStart OnDurationChanged OnEffectivelyHidden OnEffectivelyShown OnEnabledStateChanged OnEnter OnEscape OnFocusGained OnFocusLost OnHide OnIMEBeginComposition OnIMEEndComposition OnInitialized OnInsertAnimationTimelineCallback OnKeyDown OnKeyUp OnLinkClicked OnLinkMouseUp OnLoadFinished OnLoadStart OnMinMaxValueChanged OnMouseDoubleClick OnMouseDown OnMouseEnter OnMouseExit OnMouseUp OnMouseWheel OnMoveStart OnMoveStop OnPageDown OnPageUp OnPlay OnPlay OnReceiveDrag OnRequestClose OnResizeStart OnResizeStop OnResizedToFit OnScrollExtentsChanged OnScrollOffsetChanged OnSetAnimationEaseFunction OnSetAnimationEventHandler OnSetAnimationTimelineEventHandler OnSetControlEventHandler OnSetUpdateFunction OnShow OnSliderReleased OnSpace OnStop OnStop OnTab OnTextChanged OnTextureLoaded OnUpArrow OnUpdate OnUserAreaCreated OnValueChanged OnVisibleRadiusChanged PressedOffset RadialCooldownGradient ResizeToFitPadding Rotate3DAnimation ScaleAnimation Scroll ScrollingOverlay SizeAnimation Slider StatusBar String Surface TextBuffer Texture TextureAnimation TextureComposite TextureCoords TextureRotateAnimation Textures ThumbTexture Tooltip TopLevelControl Translate3DAnimation TranslateAnimation UpdateFunction sentinel ]] diff --git a/xmlapicreator.lua b/xmlapicreator.lua new file mode 100644 index 0000000..946b783 --- /dev/null +++ b/xmlapicreator.lua @@ -0,0 +1,9 @@ +local keywordlist = io.open("ESOXMLKeywordList.txt", "r") +local working1 = io.open("ESOXMLAPI.lua", "w+") +local stringtowrite = '%s = {type = "keyword"},\n' + +for line in keywordlist:lines() do + for word in line:gmatch("[%a%d]+") do + working1:write(stringtowrite:format(word)) + end +end \ No newline at end of file