ENet Class Library for C#

Host.CheckEvents Method

Checks for queued events.

[Visual Basic]
Public Sub CheckEvents( _
   ByRef event As Event _
)
[C#]
public bool CheckEvents(
   out Event event
);

Parameters

event
The dequeued event.

Return Value

True if an event was dequeued, otherwise false.

Exceptions

Exception Type Condition
InvalidOperationException The host is not initialized.
ENetException An error occured while checking events.

See Also

Host Class | ENet Namespace