Method GetEventQueueSizeForConnection
GetEventQueueSizeForConnection(NetworkConnection)
Returns the size of the event queue for a specific connection. This is the number of events that could be popped with PopEventForConnection(NetworkConnection, out DataStreamReader).
Declaration
public int GetEventQueueSizeForConnection(NetworkConnection connection)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkConnection | connection | Connection to get the event queue size of. |
Returns
| Type | Description |
|---|---|
| int | Number of events in the connection's event queue. |