Event

From Riftui Wiki

Jump to: navigation, search

An Event is a callback. That is, whenever a certain thing happens in-game, any functions that are hooked to this event are called and passed certain parameters that allow functions to execute actions on those parameters.

List of Events

NB: See individual pages for more info and usage.

Event Parameters passed Description Date Actioned
[[Event.Ability.AvailabilityChange]] Fires when changing your Role Removed 6 July 2011
Event.Ability.Add Added 6 July 2011
[[ Event.Ability.Availability.Add]] Removed 8 July 2011
[[Event.Ability.Availability.Remove]] Removed 8 July 2011
Event.Ability.Cooldown.Begin Table containing ability IDs as keys and cooldown durations remaining as values for each ability that went on cooldown. Fires when one or more abilities go on cooldown
Event.Ability.Cooldown.End Table containing ability IDs as keys and cooldown durations remaining (0) as values for each ability that came off cooldown. Fires when one or more abilities come off cooldown
Event.Ability.Range.False Added 8 July 2011
Event.Ability.Range.True Added 8 July 2011
Event.Ability.Remove Added 8 July 2011
Event.Ability.Target Added 8 July 2011
Event.Ability.Usable.False Added 8 July 2011
Event.Ability.Usable.True Added 8 July 2011
[[Event.Addon.Finalizing]] None The last event sent before the addon environment goes away. Useless to hook because it is too late for an addon to do anything here. Removed 29 June 2011
Event.Addon.Load.Begin Addon Name (String) Signals that an addon is about to start loading. If you want to hook functions in order to change the behavior of that addon, this is the time to do it.
Event.Addon.Load.End Addon Name (String) Signals that the addon has completed its loading sequence.
Event.Addon.SavedVariables.Load.Begin Addon Name (String) Signals that SavedVariables are about to be loaded.
Event.Addon.SavedVariables.Load.End Addon Name (String) Signals that SavedVariables have just been loaded.
Event.Addon.SavedVariables.Save.Begin Addon Name (String) About to save an addon's savedvariables.
Event.Addon.SavedVariables.Save.End Addon Name (String) Finished saving an addon's savedvariables.
[[Event.Addon.Shutdown]] Removed 29 June 2011
Event.Addon.Shutdown.Begin Added 29 June 2011
Event.Addon.Shutdown.End Added 29 June 2011
[[Event.Addon.Starting]] Removed 29 June 2011
Event.Addon.Startup.End Added 29 June 2011
Event.Buff.Add Added 29 June 2011
Event.Buff.Change Added 29 June 2011
Event.Buff.Description Added 5 January 2012
Event.Buff.Remove Added 29 June 2011
Event.Chat.Notify Added 21 September 2011
Event.Chat.Npc Added 21 September 2011
Event.Combat.Damage Added 21 September 2011
Event.Combat.Death Added 21 September 2011
Event.Combat.Dodge Added 21 September 2011
Event.Combat.Heal Added 21 September 2011
Event.Combat.Immune Added 21 September 2011
Event.Combat.Miss Added 21 September 2011
Event.Combat.Parry Added 21 September 2011
Event.Combat.Resist Added 21 September 2011
Event.Slash
Event.Slash.dump
Event.Slash.eventlog
Event.System.Error Error (table) Fired when Rift or an addon encounters a code error
Event.System.Secure.Enter
Event.System.Secure.Leave
Event.System.Update.Begin
Event.System.Update.End
Event.Unit.Add Added 8 July 2011
Event.Unit.Available
Event.Unit.Castbar Added 21 September 2011
Event.Unit.Detail.Afk
Event.Unit.Detail.Charge
Event.Unit.Detail.ChargeMax Added 7 December 2011
Event.Unit.Detail.Combo
Event.Unit.Detail.ComboUnit
Event.Unit.Detail.Energy
Event.Unit.Detail.Guild
Event.Unit.Detail.Health
Event.Unit.Detail.HealthCap
Event.Unit.Detail.HealthMax
Event.Unit.Detail.Level
Event.Unit.Detail.Mana
Event.Unit.Detail.ManaMax
Event.Unit.Detail.Mark
Event.Unit.Detail.Name
Event.Unit.Detail.Offline
Event.Unit.Detail.Planar
Event.Unit.Detail.PlanarMax Added 21 September 2011
Event.Unit.Detail.Power
Event.Unit.Detail.Pvp
Event.Unit.Detail.Role
Event.Unit.Detail.TitlePrefix
Event.Unit.Detail.TitleSuffix
Event.Unit.Detail.Vitality
Event.Unit.Detail.Warfront
[[Event.Unit.Change.Add]] Removed 8 July 2011
[[Event.Unit.Change.Remove]] Removed 8 July 2011
Event.Unit.Remove Added 8 July 2011
Event.Unit.Unavailable
Utility Events Varies Call function from another addon, create your own events, serialize a single parameter
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox