Struct OutgoingRpcDataStreamBuffer
One per NetworkConnection. Stores queued, outgoing RPC data. Thus, buffer size is related to client-authored 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 OutgoingRpcDataStreamBuffer : IBufferElementData
Fields
Value
The element value.
Declaration
public byte Value
Field Value
Type | Description |
---|---|
byte |
Implements
Unity.Entities.IBufferElementData