Struct IncomingRpcDataStreamBuffer
One per NetworkConnection. Stores queued, incoming RPC data. Thus, buffer size is related to inbound-from-server RPC count * size. InternalBufferCapacity is zero as RPCs can vary in size, and we don't want to constantly move the RPC data into and out of the chunk.
Implements
IBufferElementData
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
[InternalBufferCapacity(0)]
public struct IncomingRpcDataStreamBuffer : IBufferElementData
Fields
Value
The element value.
Declaration
public byte Value
Field Value
Type | Description |
---|---|
byte |
Implements
Unity.Entities.IBufferElementData