Events

From ESOUI Wiki

Jump to: navigation, search

Page up-to-date to API Version 100020




Contents

Introduction

All events can be bound to a callback which will be triggered once the event in question occurs. This can be done via the following syntax:

EVENT_MANAGER:RegisterForEvent("YourAddonName", EVENT_NAME_AS_LISTED_BELOW, FunctionToTriggerWhenEventOccurs)

You may also unbind the event from the callback with the following syntax:

EVENT_MANAGER:UnregisterForEvent("YourAddonName", EVENT_NAME_AS_LISTED_BELOW)

The callback may be declared as follows:

local function FunctionToTriggerWhenEventOccurs(eventCode, eventArg2, eventArg3)
	--Do something
end

Please see more examples at Writing_your_first_addon


Event Filtering

This one should be used when possible. Please have a closer look at AddFilterForEvent for detailed information.


Abilities


Achievements


Action Bar


Alliance War Campaign


Alliance War Keeps


Alliance War Scoring


Bank


Battlegrounds


Books and Lore


Cadwell


Camera


Champion System


Chat


Collectibles


Combat


Crafting


Crown Store


Dueling


Dyeing


Emotes


Enlightenment


Experience


Fast Travel


Fence


Fishing


Groups


Guild

Please Note: Those events are not officially listed by ZOS Patch Notes. Values can be wrong


Guild Bank


Guild Heraldry


Guild Kiosk


Housing


Imperial City


Ingame Help


Inventory and Currencies


Justice


Launder


Life and Death


Lockpicking


Looting


Mail


Map and Zoning


Mounts


Party Finder


Pledge of Mara


Quests


Raids & Dungeons


Siege Weapons


Social

Please Note: Those events are not officially listed by ZOS Patch Notes. Values can be wrong


Stuck


Subscription


Swim


Trading


Trading House


Trial Period


Tutorial & Alerts


Vendors


World Interactions


UI


UI Cursor


UI Error Handling


UI Focus


UI Gamepad


UI Keybinding


UI Keyboard / Mouse Management


UI Loading


UI Logout


UI Reticle


UI Screenshots


UI Server Shutdown


UI Toggling


Miscellaneous


ZOS Tickets


ZOS GameMasters Chat


ZOS GM & System Broadcasting

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox