Struct NullPipelineStage | Unity Transport | 0.2.4-preview.0
docs.unity3d.com
    Show / Hide Table of Contents

    Struct NullPipelineStage

    Namespace: Unity.Networking.Transport
    Syntax
    public struct NullPipelineStage : INetworkPipelineStage

    Properties

    HeaderCapacity

    Declaration
    public int HeaderCapacity { get; }
    Property Value
    Type Description
    Int32
    Implements
    INetworkPipelineStage.HeaderCapacity

    ReceiveCapacity

    Declaration
    public int ReceiveCapacity { get; }
    Property Value
    Type Description
    Int32
    Implements
    INetworkPipelineStage.ReceiveCapacity

    SendCapacity

    Declaration
    public int SendCapacity { get; }
    Property Value
    Type Description
    Int32
    Implements
    INetworkPipelineStage.SendCapacity

    SharedStateCapacity

    Declaration
    public int SharedStateCapacity { get; }
    Property Value
    Type Description
    Int32
    Implements
    INetworkPipelineStage.SharedStateCapacity

    Methods

    InitializeConnection(NativeSlice<Byte>, NativeSlice<Byte>, NativeSlice<Byte>)

    Declaration
    public void InitializeConnection(NativeSlice<byte> sendProcessBuffer, NativeSlice<byte> recvProcessBuffer, NativeSlice<byte> sharedProcessBuffer)
    Parameters
    Type Name Description
    NativeSlice<Byte> sendProcessBuffer
    NativeSlice<Byte> recvProcessBuffer
    NativeSlice<Byte> sharedProcessBuffer
    Implements
    INetworkPipelineStage.InitializeConnection(NativeSlice<Byte>, NativeSlice<Byte>, NativeSlice<Byte>)

    Receive(NetworkPipelineContext, NativeSlice<Byte>, ref Boolean, ref Boolean, ref Boolean)

    Declaration
    public NativeSlice<byte> Receive(NetworkPipelineContext ctx, NativeSlice<byte> inboundBuffer, ref bool needsResume, ref bool needsUpdate, ref bool needsSendUpdate)
    Parameters
    Type Name Description
    NetworkPipelineContext ctx
    NativeSlice<Byte> inboundBuffer
    Boolean needsResume
    Boolean needsUpdate
    Boolean needsSendUpdate
    Returns
    Type Description
    NativeSlice<Byte>
    Implements
    INetworkPipelineStage.Receive(NetworkPipelineContext, NativeSlice<Byte>, ref Boolean, ref Boolean, ref Boolean)

    Send(NetworkPipelineContext, InboundBufferVec, ref Boolean, ref Boolean)

    Declaration
    public InboundBufferVec Send(NetworkPipelineContext ctx, InboundBufferVec inboundBuffer, ref bool needsResume, ref bool needsUpdate)
    Parameters
    Type Name Description
    NetworkPipelineContext ctx
    InboundBufferVec inboundBuffer
    Boolean needsResume
    Boolean needsUpdate
    Returns
    Type Description
    InboundBufferVec
    Implements
    INetworkPipelineStage.Send(NetworkPipelineContext, InboundBufferVec, ref Boolean, ref Boolean)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023