v0.13.8

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.

signaturewowlua
function C_RestrictedActions.IsAddOnRestrictionActive(    type: AddOnRestrictionType): boolean

Parameters

nametype
typeAddOnRestrictionType

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 ↗.