Update

Update

Update

Update

Update

Update

Update

Update

Update
This commit is contained in:
2025-05-04 20:46:46 +02:00
parent 169a514973
commit 8e28d1a570
38 changed files with 2668 additions and 89 deletions

View File

@@ -1,21 +1,22 @@
---@meta
---UIObject is an abstract UI object type that is used to group together methods that are common to all user interface types. All of the various user interface elements in World of Warcraft are derived from UIObject.
---@class UIObject
---@class UIObject : Object
UIObject = {
---Returns the widget object's name
---@param self UIObject
---@return string Name of the object
GetName = function(self) end,
--- Returns whether the object is loaded.
--- @return boolean isLoaded True if the object is loaded.
--- @example
--- local isLoaded = myUIObject:IsLoaded()
IsLoaded = function(self) end,
---Returns the widget object's widget type
---@param self UIObject
---@return string Name of the object's type (e.g. Frame, Button, FontString, etc.)
GetObjectType = function(self) end,
--- Returns whether the object is visible.
--- @return boolean isVisible True if the object is visible.
--- @example
--- local isVisible = myUIObject:IsVisible()
IsVisible = function(self) end,
--- Returns whether the object belongs to a given widget type
---@param self UIObject
---@param type string Name of the object's type (e.g. Frame, Button, FontString, etc.)
---@return number|nil 1 if the object belongs to the given type (or a subtype thereof); otherwise nil
IsObjectType = function(self, type) end,
--- Returns whether the object is shown.
--- @return boolean isShown True if the object is shown.
--- @example
--- local isShown = myUIObject:IsShown()
IsShown = function(self) end,
}