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