Addon Events - GoldpawsStuff/DiabolicUI GitHub Wiki

ActionBar_Created

Fires when an actionbar has been created, and all of its buttons spawned and styled.

ActionBar_Created: global

Payload

  • global <string> the unique global name of the actionbar.

ActionBars_Artwork_Updated

Fires when the primary actionbar artwork is updated. This fires directly after ActionBars_SecondaryBar_Updated.

ActionBars_Artwork_Updated: numBars

Payload

  • numBars <number> the currently number of visible bottom bars.

ActionBars_SecondaryBar_Updated

Fires when the secondary action bar is shown or hidden.

ActionBars_SecondaryBar_Updated: secondaryShown

Payload

  • secondaryShown <boolean> true if the secondary bar is shown.

ActionBars_PetBar_Updated

Fires when the pet bar is shown or hidden.

ActionBars_PetBar_Updated: petBarShown

Payload

  • petBarShown <boolean> true if the pet bar bar is shown.

ActionBars_StanceBar_Updated

Fires when the stance bar is shown or hidden.

ActionBars_StanceBar_Updated: stanceBarShown

Payload

  • petBarShown <boolean> true if the pet bar bar is shown.

FontObject_Created

Fires when a new font object been created.

FontObject_Created: fontObject, type

Payload

  • fontObject <table> the actual font object.
  • type <string> the variant. "Chat", "Number" or "Normal".

Relative_Scale_Updated

Fires when the relative scale of the UI and its elements is updated.

Note that this does not fire on the initial loading of the saved setting for relativeScale, as all UI elements should be created after this event anyway. It does however fire on any /setscale n and /resetscale calls that leads to an actual scale change.

Relative_Scale_Updated: relativeScale

Payload

  • relativeScale <number> the relative scale value applied to all objects.

StatusTrackingBar_Created

Fires when the primary experience/reputation bar has been created and styled.

StatusTrackingBar_Created: global

Payload

  • global <string> the unique global name of the bar

UnitFrame_Created

Fires when a unitframe has been created, styled and positioned.

UnitFrame_Created: unitID, global

Payload

  • unitID <string> the unitID of the frame
  • global <string> the unique global name of the frame

UnitFrame_DockManager_Initialized

Fires when the dockmanager controlling the small unitframes have been created and initialized.

UnitFrame_DockManager_Initialized: global

Payload

  • global <string> the unique global name of the dock manager

UnitFrame_Position_Updated

Fires when a unitframe's position or the position of its subelements has been updated.

UnitFrame_Position_Updated: global

Payload

  • global <string> the unique global name of the frame

Minimap_Initialized

Fires when the minimap has been initialized. At this point it is safe for plugins to alter events, hooks, everything.

Minimap_Initialized: <nil>

Payload

  • None.

Saved_Settings_Updated

Fires when the saved settings has been changed or updated.

Saved_Settings_Updated: <nil>

Payload

  • None.
⚠️ **GitHub.com Fallback** ⚠️