docs.unity.cn
    Show / Hide Table of Contents

    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.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.NetCode
    Syntax
    [InternalBufferCapacity(0)]
    public struct OutgoingRpcDataStreamBuffer : IBufferElementData

    Fields

    Value

    The element value.

    Declaration
    public byte Value
    Field Value
    Type Description
    Byte
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023