GetLatentEventHandles: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
Server | <section name="Server" class="server" show="true"> | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
table getLatentEventHandles ( player thePlayer ) | table getLatentEventHandles ( player thePlayer ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Client | ===Required Arguments=== | ||
*'''thePlayer:''' The player who is receiving the events. | |||
</section> | |||
<section name="Client" class="client" show="true"> | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
table getLatentEventHandles ( ) | table getLatentEventHandles ( ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</section> | |||
===Returns=== | ===Returns=== |
Revision as of 05:57, 4 July 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
Click to collapse [-]
Servertable getLatentEventHandles ( player thePlayer )
Required Arguments
- thePlayer: The player who is receiving the events.
Click to collapse [-]
Clienttable getLatentEventHandles ( )
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