docs.unity.cn
    Show / Hide Table of Contents

    Class BaselibNetworkParameterExtensions

    Inheritance
    Object
    BaselibNetworkParameterExtensions
    Namespace: Unity.Networking.Transport
    Syntax
    public static class BaselibNetworkParameterExtensions : object

    Methods

    GetBaselibNetworkInterfaceParameters(ref NetworkSettings)

    Gets the BaselibNetworkParameter

    Declaration
    public static BaselibNetworkParameter GetBaselibNetworkInterfaceParameters(this ref NetworkSettings settings)
    Parameters
    Type Name Description
    NetworkSettings settings
    Returns
    Type Description
    BaselibNetworkParameter

    Returns the BaselibNetworkParameter values for the NetworkSettings

    WithBaselibNetworkInterfaceParameters(ref NetworkSettings, Int32, Int32, UInt32)

    Sets the BaselibNetworkParameter values for the NetworkSettings

    Declaration
    public static ref NetworkSettings WithBaselibNetworkInterfaceParameters(this ref NetworkSettings settings, int receiveQueueCapacity = null, int sendQueueCapacity = null, uint maximumPayloadSize = null)
    Parameters
    Type Name Description
    NetworkSettings settings
    Int32 receiveQueueCapacity receiveQueueCapacity
    Int32 sendQueueCapacity sendQueueCapacity
    UInt32 maximumPayloadSize maximumPayloadSize
    Returns
    Type Description
    NetworkSettings
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, March 31, 2022
    Terms of use