Skip to main content

Unity.Networking.Transport.NetworkEvent

Represents an event on a connection.

Inherited Members#

ValueType.Equals(Object)

ValueType.GetHashCode()

ValueType.ToString()

Object.Equals(Object, Object)

Object.GetType()

Object.ReferenceEquals(Object, Object)

Namespace: System.Dynamic.ExpandoObject#
Assembly: transport.dll#
Syntax#
public struct NetworkEvent

connectionId#

Internal ID of the connection.

Declaration#

public int connectionId

Field Value#

TypeDescription
System.Int32

offset#

Offset of the event's data in the internal data stream.

Declaration#

public int offset

Field Value#

TypeDescription
System.Int32

pipelineId#

The pipeline on which the event was received (for Data events).

Declaration#

public short pipelineId

Field Value#

TypeDescription
System.Int16

size#

Size of the event's data.

Declaration#

public int size

Field Value#

TypeDescription
System.Int32

status#

Status of the event. Used to store the Disconnect reason.

Declaration#

public int status

Field Value#

TypeDescription
System.Int32

type#

The type of the event.

Declaration#

public NetworkEvent.Type type

Field Value#

TypeDescription
NetworkEvent.Type