Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WildStar
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WildStar:UI Event
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{\|uievent}} :''Were you looking for the list of [[\API events]]?'' This is the main WS event reference. Events are a basic message passing system which are received by ''event handlers'' as Lua table and function. Many require registration in Lua. == Startup == During start-up the 'OnLoad' event fires for an AddOn during load, allowing it register for further event and timer messages. == Registration == You can register any other table and function to receive an event using the {{\|api||Apollo|RegisterEventHandler}}(sEventName, sFuncName, tHandler) function. When the events occur they will be delivered to that script handler. == Removal == To unregister an event handler, use {{\|api||Apollo|RemoveEventHandler}}(sEventName, tHandler). == Performance == The WildStar interface is nearly entirely event driven, and all interface code is invoked in response to an event. Script execution must be completed before a frame is rendered; therefore, event processing code that takes too long or contains an infinite loop can drastically degrade the client visibly. == See also == * [[\Handling events]] - setting up event handling for an AddOn * [[\Registering events]] - how to create new events for use by AddOns * [[\Parsing event messages]] - extracting information from event's parameters * [[\UI AddOn]]
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:WildStar/api
(
edit
)
Template:WildStar/devnav
(
edit
)
Template:WildStar/uievent
(
edit
)
Template:\
(
edit
)