Interface IAddonLifecycle
This class provides events for in-game addon lifecycles.
Assembly: Dalamud.dll
Declaration
public interface IAddonLifecycle : IDalamudService
Methods
RegisterListener(AddonEvent, IEnumerable<string>, AddonEventDelegate)
Register a listener that will trigger on the specified event and any of the specified addons.
Declaration
void RegisterListener(AddonEvent eventType, IEnumerable<string> addonNames, IAddonLifecycle.AddonEventDelegate handler)
Parameters
| Type | Name | Description |
|---|---|---|
| Dalamud.Game.Addon.Lifecycle.AddonEvent | eventType | Event type to trigger on. |
System.Collections.Generic.IEnumerable<System.String> | addonNames | Addon names that will trigger the handler to be invoked. |
| Dalamud.Plugin.Services.IAddonLifecycle.AddonEventDelegate | handler | The handler to invoke. |