Struct ClientReceivedDataArgs
Container about data received on the local client.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FishNet.Transporting
Assembly: FishNet.Runtime.dll
Syntax
public struct ClientReceivedDataArgs
Constructors
ClientReceivedDataArgs(ArraySegment<Byte>, Channel, Int32)
Declaration
public ClientReceivedDataArgs(ArraySegment<byte> data, Channel channel, int transportIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.ArraySegment<System.Byte> | data | |
| Channel | channel | |
| System.Int32 | transportIndex |
Fields
Channel
Channel data was received on.
Declaration
public Channel Channel
Field Value
| Type | Description |
|---|---|
| Channel |
Data
Data received.
Declaration
public ArraySegment<byte> Data
Field Value
| Type | Description |
|---|---|
| System.ArraySegment<System.Byte> |
TransportIndex
Index of the transport that is for. This is primarily used when supporting multiple transports.
Declaration
public int TransportIndex
Field Value
| Type | Description |
|---|---|
| System.Int32 |