C_AddOns. GetAddOnEnableState
functionimplementedavailable in: camelot
Queries the enabled state of an addon, optionally for a specific character.
function C_AddOns.GetAddOnEnableState( name: uiAddon, character: string): AddOnEnableStateParameters
| name | type | description |
|---|---|---|
name | uiAddon | The name of the addon to be queried, or an index from 1 to C_AddOns.GetNumAddOns. The state of Blizzard addons can only be queried by name. |
character | string | The name or GUID of the character to check against, or omitted/nil for all characters Default: "0". |
Returns
state · AddOnEnableState · The enabled state of the addon.
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (AddOns system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.