Method PopEvent
PopEvent(out NetworkConnection, out DataStreamReader)
Pops an event
Declaration
public NetworkEvent.Type PopEvent(out NetworkConnection con, out DataStreamReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkConnection | con | Connection on which the event occured. |
| DataStreamReader | reader | Stream reader for the event's data. |
Returns
| Type | Description |
|---|---|
| NetworkEvent.Type | The event's type |
PopEvent(out NetworkConnection, out DataStreamReader, out NetworkPipeline)
Pops an event
Declaration
public NetworkEvent.Type PopEvent(out NetworkConnection con, out DataStreamReader reader, out NetworkPipeline pipeline)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkConnection | con | Connection on which the event occured. |
| DataStreamReader | reader | Stream reader for the event's data. |
| NetworkPipeline | pipeline | Pipeline on which the event was received. |
Returns
| Type | Description |
|---|---|
| NetworkEvent.Type | The event's type |