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 |
---|---|---|
Network |
connectionId | The connection id |
Data |
reader | Stream reader for the event's data. |
Returns
Type | Description |
---|---|
Network |
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 |
---|---|---|
Network |
connectionId | The connection id |
Data |
reader | Stream reader for the event's data. |
Network |
pipeline | Pipeline on which the data event was received. |
Returns
Type | Description |
---|---|
Network |
The type |