API ProcessEvent: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
split
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== ProcessEvent ===
=== ProcessEvent ===
'''Definition:'''
'''Definition:'''
ProcessEvent(string eventtype, data) -> nil
ProcessEvent(string eventtype, ...) -> nil
<br>
<br>
'''Description:'''<br>
'''Description:'''<br>
Processes various events. Trigger a with [[Function_Index#RegisterEvent]] defined event
Processes various events. Trigger a with [[API_RegisterEvent|RegisterEvent]] defined event.
<br>
<br>
'''Arguments:'''<br>
'''Arguments:'''<br>
''eventtype'' [[eventtype]]<br>
''eventtype'' [[eventtype]]<br>
''data'' varies depending on eventtype. Sometimes it's a table, sometimes it's a string.
''...'' variable number of arguments depending on event.
<br>
<br>

Latest revision as of 17:46, 21 February 2009

ProcessEvent

Definition: ProcessEvent(string eventtype, ...) -> nil
Description:
Processes various events. Trigger a with RegisterEvent defined event.
Arguments:
eventtype eventtype
... variable number of arguments depending on event.