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

    Interface INetworkPipelineStageCollection

    Namespace: Unity.Networking.Transport
    Syntax
    public interface INetworkPipelineStageCollection

    Methods

    GetHeaderCapacity(Int32)

    Declaration
    int GetHeaderCapacity(int pipelineStageId)
    Parameters
    Type Name Description
    Int32 pipelineStageId
    Returns
    Type Description
    Int32

    GetReceiveCapacity(Int32)

    Declaration
    int GetReceiveCapacity(int pipelineStageId)
    Parameters
    Type Name Description
    Int32 pipelineStageId
    Returns
    Type Description
    Int32

    GetSendCapacity(Int32)

    Declaration
    int GetSendCapacity(int pipelineStageId)
    Parameters
    Type Name Description
    Int32 pipelineStageId
    Returns
    Type Description
    Int32

    GetSharedStateCapacity(Int32)

    Declaration
    int GetSharedStateCapacity(int pipelineStageId)
    Parameters
    Type Name Description
    Int32 pipelineStageId
    Returns
    Type Description
    Int32

    GetStageId(Type)

    Declaration
    int GetStageId(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Int32

    Initialize(INetworkParameter[])

    Declaration
    void Initialize(params INetworkParameter[] param)
    Parameters
    Type Name Description
    INetworkParameter[] param

    InvokeInitialize(Int32, NativeSlice<Byte>, NativeSlice<Byte>, NativeSlice<Byte>)

    Declaration
    void InvokeInitialize(int pipelineStageId, NativeSlice<byte> sendProcessBuffer, NativeSlice<byte> recvProcessBuffer, NativeSlice<byte> sharedStateBuffer)
    Parameters
    Type Name Description
    Int32 pipelineStageId
    NativeSlice<Byte> sendProcessBuffer
    NativeSlice<Byte> recvProcessBuffer
    NativeSlice<Byte> sharedStateBuffer

    InvokeReceive(Int32, NetworkPipelineContext, NativeSlice<Byte>, ref Boolean, ref Boolean, ref Boolean)

    Declaration
    NativeSlice<byte> InvokeReceive(int pipelineStageId, NetworkPipelineContext ctx, NativeSlice<byte> inboundBuffer, ref bool needsResume, ref bool needsUpdate, ref bool needsSendUpdate)
    Parameters
    Type Name Description
    Int32 pipelineStageId
    NetworkPipelineContext ctx
    NativeSlice<Byte> inboundBuffer
    Boolean needsResume
    Boolean needsUpdate
    Boolean needsSendUpdate
    Returns
    Type Description
    NativeSlice<Byte>

    InvokeSend(Int32, NetworkPipelineContext, InboundBufferVec, ref Boolean, ref Boolean)

    Declaration
    InboundBufferVec InvokeSend(int pipelineStageId, NetworkPipelineContext ctx, InboundBufferVec inboundBuffer, ref bool needsResume, ref bool needsUpdate)
    Parameters
    Type Name Description
    Int32 pipelineStageId
    NetworkPipelineContext ctx
    InboundBufferVec inboundBuffer
    Boolean needsResume
    Boolean needsUpdate
    Returns
    Type Description
    InboundBufferVec
    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