GetLatentEventHandles: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
Server: | Server: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
table getLatentEventHandles ( | table getLatentEventHandles ( player thePlayer ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Client: | Client: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
table getLatentEventHandles () | table getLatentEventHandles ( ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''thePlayer:''' (Only required if called on the server) The player who is receiving the events. | ||
===Returns=== | ===Returns=== | ||
Line 23: | Line 23: | ||
--TODO | --TODO | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Requirements== | |||
{{Requirements|1.3.0-9.03772|1.3.0-9.03772|}} | |||
==See Also== | ==See Also== | ||
{{Event functions}} | {{Event functions}} |
Revision as of 10:36, 29 January 2012
Gets the currently queued latent events. The last one in the table is always the latest event queued. Each returned handle can be used with getLatentEventStatus or cancelLatentEvent
Syntax
Server:
table getLatentEventHandles ( player thePlayer )
Client:
table getLatentEventHandles ( )
Required Arguments
- thePlayer: (Only required if called on the server) The player who is receiving the events.
Returns
Returns a table of handles or false if invalid arguments were passed.
Example
--TODO
Requirements
This template will be deleted.
See Also
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled