docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct BaselibNetworkParameter

    Obsolete. Set the receive/send queue capacities with NetworkConfigParameter instead.

    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
    [Obsolete("To set receiveQueueCapacity and sendQueueCapacity parameters use NetworkConfigParameter", false)]
    public struct BaselibNetworkParameter : INetworkParameter

    Fields

    maximumPayloadSize

    Declaration
    public uint maximumPayloadSize
    Field Value
    Type Description
    uint

    receiveQueueCapacity

    Declaration
    public int receiveQueueCapacity
    Field Value
    Type Description
    int

    sendQueueCapacity

    Declaration
    public int sendQueueCapacity
    Field Value
    Type Description
    int

    Methods

    Validate()

    Checks if the values for all fields are valid. This method will be automatically called when adding parameters to the NetworkSettings.

    Declaration
    public bool Validate()
    Returns
    Type Description
    bool

    True if the parameter is valid, false otherwise.

    Implements

    INetworkParameter
    In This Article
    Back to top
    Copyright © 2024 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)