Back to index...

NameTypeDeprecatedSecureDescription
Event.Addon.Load.BeginSignals the beginning of an addon's loading sequence.
Event.Addon.Load.EndSignals the end of an addon's loading sequence. At this point, that addon is fully loaded and ini...
Event.Addon.SavedVariables.Load.BeginSignals the beginning of an addon's saved variable loading.
Event.Addon.SavedVariables.Load.EndSignals the end of an addon's saved variable load.
Event.Addon.SavedVariables.Save.BeginSignals the beginning of an addon's saved variable saving.
Event.Addon.SavedVariables.Save.EndSignals the end of an addon's saved variable saving.
Event.Addon.Shutdown.BeginSignals the beginning of the shutdown sequence.
Event.Addon.Shutdown.EndSignals the end of the shutdown sequence. This is the last event that will be sent.
Event.Addon.Startup.EndSignals the end of the startup sequence. At this point, all addons are fully loaded and initialized.
Inspect.Addon.CpufunctionReturns recent CPU usage information. This is calculated using an exponential-falloff method.
Inspect.Addon.CurrentfunctionReturns the current addon. This information is used internally for counting CPU usage and determi...
Inspect.Addon.DetailfunctionProvides detailed information about loaded addons.
Inspect.Addon.ListfunctionLists all the addons that the client has loaded.

Event.Addon.Load.Begin

Signals the beginning of an addon's loading sequence.

Usage:

Event.Addon.Load.Begin(addonidentifier)
ParameterTypeDatatypeDescription
addonidentifierparametervariantThe addon's identifier.

Event.Addon.Load.End

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)
ParameterTypeDatatypeDescription
addonidentifierparametervariantThe addon's identifier.

Event.Addon.SavedVariables.Load.Begin

Signals the beginning of an addon's saved variable loading.

Usage:

Event.Addon.SavedVariables.Load.Begin(addonidentifier)
ParameterTypeDatatypeDescription
addonidentifierparametervariantThe addon's identifier.

Event.Addon.SavedVariables.Load.End

Signals the end of an addon's saved variable load.

Usage:

Event.Addon.SavedVariables.Load.End(addonidentifier)
ParameterTypeDatatypeDescription
addonidentifierparametervariantThe addon's identifier.

Event.Addon.SavedVariables.Save.Begin

Signals the beginning of an addon's saved variable saving.

Usage:

Event.Addon.SavedVariables.Save.Begin(addonidentifier)
ParameterTypeDatatypeDescription
addonidentifierparametervariantThe addon's identifier.

Event.Addon.SavedVariables.Save.End

Signals the end of an addon's saved variable saving.

Usage:

Event.Addon.SavedVariables.Save.End(addonidentifier)
ParameterTypeDatatypeDescription
addonidentifierparametervariantThe addon's identifier.

Event.Addon.Shutdown.Begin

Signals the beginning of the shutdown sequence.

Usage:

Event.Addon.Shutdown.Begin()

Event.Addon.Shutdown.End

Signals the end of the shutdown sequence. This is the last event that will be sent.

Usage:

Event.Addon.Shutdown.End()

Event.Addon.Startup.End

Signals the end of the startup sequence. At this point, all addons are fully loaded and initialized.

Usage:

Event.Addon.Startup.End()

Inspect.Addon.Cpu

Returns recent CPU usage information. This is calculated using an exponential-falloff method.

Usage:

data = Inspect.Addon.Cpu()
ParameterTypeDatatypeDescription
dataresulttableRecent 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.

Inspect.Addon.Current

Returns the current addon. This information is used internally for counting CPU usage and determining frame ownership.

Usage:

addonIdentifier = Inspect.Addon.Current()
ParameterTypeDatatypeDescription
addonIdentifierresultstringThe addon's identifier, as written in its TOC file.

Inspect.Addon.Detail

Provides detailed information about loaded addons.

Usage:

detail = Inspect.Addon.Detail(addon)
details = Inspect.Addon.Detail(addons)
ParameterTypeDatatypeDescription
addonparameterstringAn addon identifier.
addonsparametertableA table containing addon identifiers.
detailresulttableDetail table for a single addon.
detailsresulttableDetail 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.

Inspect.Addon.List

Lists all the addons that the client has loaded.

Usage:

addons = Inspect.Addon.List()
ParameterTypeDatatypeDescription
addonsresulttableMap of addon identifier to addon version, or "true" if no version is provided.

Back to index...