Difference between revisions of "enet.host:check events"

(Created page with "Checks for any queued events and dispatches one if available. Returns the associated event if something was dispatched, otherwise nil. == Function == === Syn...")
 
m (Arguments: stylistic edit)
 
Line 6: Line 6:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 +
None.
 +
 
=== Returns ===
 
=== Returns ===
 
{{param|table|event|An [[enet.event | event]] or nil if no events are available.}}
 
{{param|table|event|An [[enet.event | event]] or nil if no events are available.}}

Latest revision as of 02:17, 30 October 2016

Checks for any queued events and dispatches one if available. Returns the associated event if something was dispatched, otherwise nil.

Function

Synopsis

event = host:check_events()

Arguments

None.

Returns

table event
An event or nil if no events are available.

See Also

Other Languages