C_RestrictedActions. IsAddOnRestrictionActive
functionimplementedavailable in: camelot
Returns true if an addon restriction type is in an active state. During dispatch of ADDON_RESTRICTION_STATE_CHANGED, this will always return false for the restriction type the event fired for.
function C_RestrictedActions.IsAddOnRestrictionActive( type: AddOnRestrictionType): booleanParameters
| name | type |
|---|---|
type | AddOnRestrictionType |
Returns
active · boolean
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) (RestrictedActions system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.