docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct BaselibNetworkParameter

    Network Parameters used to set queue and payload sizes for BaselibNetworkInterface

    Implements
    INetworkParameter
    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 BaselibNetworkParameter : INetworkParameter

    Fields

    maximumPayloadSize

    The maximum payload size.

    Declaration
    public uint maximumPayloadSize
    Field Value
    Type Description
    uint

    receiveQueueCapacity

    The maximum number of receiving packets that the BaselibNetworkInterface can process in a single update iteration.

    Declaration
    public int receiveQueueCapacity
    Field Value
    Type Description
    int

    sendQueueCapacity

    The maximum number of sending packets that the BaselibNetworkInterface can process in a single update iteration.

    Declaration
    public int sendQueueCapacity
    Field Value
    Type Description
    int

    Methods

    Validate()

    Validate the settings.

    Declaration
    public bool Validate()
    Returns
    Type Description
    bool

    True if the settings are valid, false otherwise.

    Implements

    INetworkParameter
    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)