Files
wow_Meta/api/LoadAddOn.lua
2024-12-16 13:13:08 +01:00

24 lines
817 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param name string
---@param index number
---@return number loaded
---@return NOT_DEMAND_LOADED reason
---@return BANNED
---@return CORRUPT
---@return DEP_BANNED
---@return DEP_CORRUPT
---@return DEP_DISABLED
---@return DEP_INCOMPATIBLE
---@return DEP_INSECURE
---@return DEP_INTERFACE_VERSION
---@return DEP_MISSING
---@return DEP_NOT_DEMAND_LOADED
---@return DISABLED
---@return INCOMPATIBLE
---@return INSECURE
---@return INTERFACE_VERSION
---@return MISSING
---@return NOT_DEMAND_LOADED
---Loads a LoadOnDemand-capable addon. If the given addon has dependencies which are also LoadOnDemand-capable, those addons will be loaded as well. This function will not load disabled addons.
function LoadAddOn(name, index) end