Signals the beginning of an addon's loading sequence.
Usage:
| Event.Addon.Load.Begin(addonidentifier) |
| Parameter | Type | Datatype | Description |
| addonidentifier | parameter | variant | The addon's identifier. |
Signals the end of an addon's loading sequence. At this point, that addon is fully loaded and initialized.
Usage:
| Event.Addon.Load.End(addonidentifier) |
| Parameter | Type | Datatype | Description |
| addonidentifier | parameter | variant | The addon's identifier. |
Signals the beginning of an addon's saved variable loading.
Usage:
| Event.Addon.SavedVariables.Load.Begin(addonidentifier) |
| Parameter | Type | Datatype | Description |
| addonidentifier | parameter | variant | The addon's identifier. |
Signals the end of an addon's saved variable load.
Usage:
| Event.Addon.SavedVariables.Load.End(addonidentifier) |
| Parameter | Type | Datatype | Description |
| addonidentifier | parameter | variant | The addon's identifier. |
Signals the beginning of an addon's saved variable saving.
Usage:
| Event.Addon.SavedVariables.Save.Begin(addonidentifier) |
| Parameter | Type | Datatype | Description |
| addonidentifier | parameter | variant | The addon's identifier. |
Signals the end of an addon's saved variable saving.
Usage:
| Event.Addon.SavedVariables.Save.End(addonidentifier) |
| Parameter | Type | Datatype | Description |
| addonidentifier | parameter | variant | The addon's identifier. |
Signals the beginning of the shutdown sequence.
Usage:
| Event.Addon.Shutdown.Begin() |
Signals the end of the shutdown sequence. This is the last event that will be sent.
Usage:
| Event.Addon.Shutdown.End() |
Signals the end of the startup sequence. At this point, all addons are fully loaded and initialized.
Usage:
| Event.Addon.Startup.End() |
Returns recent CPU usage information. This is calculated using an exponential-falloff method.
Usage:
| data = Inspect.Addon.Cpu() |
| Parameter | Type | Datatype | Description |
| data | result | table | Recent CPU usage. This takes the format { AddonIdentifier = { SubIdentifier = cpu_used_as_a_fraction_of_one } }. SubIdentifiers are generated by Rift and the format may change without notice. |
Returns the current addon. This information is used internally for counting CPU usage and determining frame ownership.
Usage:
| addonIdentifier = Inspect.Addon.Current() |
| Parameter | Type | Datatype | Description |
| addonIdentifier | result | string | The addon's identifier, as written in its TOC file. |
Provides detailed information about loaded addons.
Usage:
| detail = Inspect.Addon.Detail(addon) |
| details = Inspect.Addon.Detail(addons) |
| Parameter | Type | Datatype | Description |
| addon | parameter | string | An addon identifier. |
| addons | parameter | table | A table containing addon identifiers. |
| detail | result | table | Detail table for a single addon. |
| details | result | table | Detail tables for all requested addons. The key is the addon identifier, the value is the addon's detail table. |
- members
-
| data |
The "data" table provided to the addon at load time.
|
| description |
The chosen localization of the TOC Description field.
|
| id |
The ID of the requested element.
|
| identifier |
The addon's identifier.
|
| name |
The chosen localization of the TOC Name field.
|
| nameShort |
The chosen localization of the TOC NameShort field.
|
| toc |
The addon's RiftAddon.toc file, parsed and in table form.
|
Lists all the addons that the client has loaded.
Usage:
| addons = Inspect.Addon.List() |
| Parameter | Type | Datatype | Description |
| addons | result | table | Map of addon identifier to addon version, or "true" if no version is provided. |