docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NetworkPipelineStage

    The network pipeline stage

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Networking.Transport
    Assembly: Unity.Networking.Transport.dll
    Syntax
    public struct NetworkPipelineStage

    Constructors

    NetworkPipelineStage(TransportFunctionPointer<ReceiveDelegate>, TransportFunctionPointer<SendDelegate>, TransportFunctionPointer<InitializeConnectionDelegate>, int, int, int, int, int)

    Initializes a new instance of the NetworkPipelineStage class

    Declaration
    public NetworkPipelineStage(TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate> Receive, TransportFunctionPointer<NetworkPipelineStage.SendDelegate> Send, TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate> InitializeConnection, int ReceiveCapacity, int SendCapacity, int HeaderCapacity, int SharedStateCapacity, int PayloadCapacity = 0)
    Parameters
    Type Name Description
    TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate> Receive

    The receive

    TransportFunctionPointer<NetworkPipelineStage.SendDelegate> Send

    The send

    TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate> InitializeConnection

    The initialize connection

    int ReceiveCapacity

    The receive capacity

    int SendCapacity

    The send capacity

    int HeaderCapacity

    The header capacity

    int SharedStateCapacity

    The shared state capacity

    int PayloadCapacity

    The payload capacity

    Fields

    HeaderCapacity

    The header capacity

    Declaration
    public readonly int HeaderCapacity
    Field Value
    Type Description
    int

    InitializeConnection

    InitializeConnection function pointer

    Declaration
    public TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate> InitializeConnection
    Field Value
    Type Description
    TransportFunctionPointer<NetworkPipelineStage.InitializeConnectionDelegate>

    PayloadCapacity

    The payload capacity

    Declaration
    public readonly int PayloadCapacity
    Field Value
    Type Description
    int

    Receive

    Receive function pointer

    Declaration
    public TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate> Receive
    Field Value
    Type Description
    TransportFunctionPointer<NetworkPipelineStage.ReceiveDelegate>

    ReceiveCapacity

    The receive capacity

    Declaration
    public readonly int ReceiveCapacity
    Field Value
    Type Description
    int

    Send

    Send function pointer

    Declaration
    public TransportFunctionPointer<NetworkPipelineStage.SendDelegate> Send
    Field Value
    Type Description
    TransportFunctionPointer<NetworkPipelineStage.SendDelegate>

    SendCapacity

    The send capacity

    Declaration
    public readonly int SendCapacity
    Field Value
    Type Description
    int

    SharedStateCapacity

    The shared state capacity

    Declaration
    public readonly int SharedStateCapacity
    Field Value
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)