docs.unity.cn
    Show / Hide Table of Contents

    Class ReliableStageParameterExtensions

    Extensions for ReliableUtility.Parameters.

    Inheritance
    Object
    ReliableStageParameterExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Networking.Transport.Utilities
    Syntax
    public static class ReliableStageParameterExtensions

    Methods

    GetReliableStageParameters(ref NetworkSettings)

    Gets the ReliableUtility.Parameters

    Declaration
    public static ReliableUtility.Parameters GetReliableStageParameters(this ref NetworkSettings settings)
    Parameters
    Type Name Description
    NetworkSettings settings

    NetworkSettings to get parameters from.

    Returns
    Type Description
    ReliableUtility.Parameters

    Returns the ReliableUtility.Parameters values for the NetworkSettings

    WithReliableStageParameters(ref NetworkSettings, Int32)

    Sets the ReliableUtility.Parameters values for the NetworkSettings

    Declaration
    public static ref NetworkSettings WithReliableStageParameters(this ref NetworkSettings settings, int windowSize = 32)
    Parameters
    Type Name Description
    NetworkSettings settings

    NetworkSettings to modify.

    Int32 windowSize WindowSize
    Returns
    Type Description
    NetworkSettings

    Modified NetworkSettings.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 28, 2023