Wikia

WoWWiki

Changes: Event API

Edit

Back to page

Line 1: Line 1:
 
{{wowapievent}}{{tocright}}
 
{{wowapievent}}{{tocright}}
From a UI perspective, [[Events]] in WoW are messages sent by the WoW client to the UI Frames (via frame script handlers), mostly in reaction to things occurring in the game world. See the [[#Event Index|Event API Index]] links below for event reference.
+
''This page no longer directly displays the full event, list like [[Widget API]] and [[WoW API]] respectivly do, as the list is now too large. See [[#Event Index|Event Index]] or [[Events_A-Z_(Full_List)|List of all Events (API)]]''
  +
  +
From a UI perspective, [[Events]] in WoW are messages sent by the WoW client to the UI Frames (via frame script handlers), mostly in reaction to things occurring in the game world. See the [[#Event Index|Event API Index]] links below for event reference.
   
 
== Reference ==
 
== Reference ==
* [[#Event Index|Indexed Events (API)]]
+
* [[#Event Index|Indexed Events (API)]]
* [[Events_A-Z_(Full_List)|List of all Events (API)]]
+
* [[Events_A-Z_(Full_List)|List of all Events (API)]]
 
* [[Events/Communication|Communication Events]]
 
* [[Events/Communication|Communication Events]]
 
* [[Events From Disassembly|Glue Events]]
 
* [[Events From Disassembly|Glue Events]]

Revision as of 21:43, September 17, 2013

This page no longer directly displays the full event, list like Widget API and WoW API respectivly do, as the list is now too large. See Event Index or List of all Events (API)

From a UI perspective, Events in WoW are messages sent by the WoW client to the UI Frames (via frame script handlers), mostly in reaction to things occurring in the game world. See the Event API Index links below for event reference.

Reference

Guides

Summary

The World of Warcraft interface is entirely event driven: all interface code is invoked in response to an event (or OnUpdate "events"). All script execution must be completed before a frame is rendered; therefore, event processing code that takes too long or contains an infinite loop will freeze the client.

You can register your Frame-derived widget to receive an event using the frame:RegisterEvent("eventName") function. When the events occur, they will be delivered to the OnEvent script handler, which can be set using frame:SetScript("OnEvent", handlerFunc). To unregister an event, use frame:UnregisterEvent("eventName").

Event Index

Around Wikia's network

Random Wiki