Method PopEventForConnection
PopEventForConnection(NetworkConnection, out DataStreamReader)
Pops events for a connection using the specified connection id
Declaration
public NetworkEvent.Type PopEventForConnection(NetworkConnection connectionId, out DataStreamReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkConnection | connectionId | The connection id |
| DataStreamReader | reader | Stream reader for the event's data. |
Returns
| Type | Description |
|---|---|
| NetworkEvent.Type | The network event type |
PopEventForConnection(NetworkConnection, out DataStreamReader, out NetworkPipeline)
Pops events for a connection using the specified connection id
Declaration
public NetworkEvent.Type PopEventForConnection(NetworkConnection connectionId, out DataStreamReader reader, out NetworkPipeline pipeline)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkConnection | connectionId | The connection id |
| DataStreamReader | reader | Stream reader for the event's data. |
| NetworkPipeline | pipeline | Pipeline on which the data event was received. |
Returns
| Type | Description |
|---|---|
| NetworkEvent.Type | The type |