ADDON_RESTRICTION_STATE_CHANGED
Fired when the state of an addon restriction type is changing. This event is sequenced such that it will always be fired before a restriction becomes active, or after it is deactivated.
declare event ADDON_RESTRICTION_STATE_CHANGED(type: AddOnRestrictionType, state: AddOnRestrictionState)Payload
| # | name | type |
|---|---|---|
| 1 | type | AddOnRestrictionType |
| 2 | state | AddOnRestrictionState |
Blizzard's documentation marks the event as synchronous.
In wowlua's emulated client
implementedThe emulator fires it on its own, from its units model. what the statuses mean
sources
Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (RestrictedActions system, camelot 1.60.1). Description: Blizzard's API documentation (Blizzard_APIDocumentationGenerated).