Struct OutgoingRpcDataStreamBufferComponent
One per NetworkConnection. Stores queued, outgoing RPC data. Thus, buffer size is related to client-authored RPC count * size. InternalBufferCapacity is zero as RPC's can vary in size, and we don't want to constantly move the RPC data into and out of the chunk.
Namespace: Unity.NetCode
Syntax
[InternalBufferCapacity(0)]
public struct OutgoingRpcDataStreamBufferComponent : IBufferElementData
Fields
Value
Declaration
public byte Value
Field Value
Type | Description |
---|---|
Byte |