docs.unity.cn
    Show / Hide Table of Contents

    Struct ReliableUtility.SharedContext

    Context shared by both the send and receive direction of the reliable pipeline. Can be obtained through the last parameter of GetPipelineBuffers(NetworkPipeline, NetworkPipelineStageId, NetworkConnection, out NativeArray<Byte>, out NativeArray<Byte>, out NativeArray<Byte>).

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Networking.Transport.Utilities
    Syntax
    public struct SharedContext

    Fields

    MaximumResendTime

    Effective maximum resend time for unacknowledged reliable packets. Can be modified through SetMaximumResendTime(Int32, NetworkDriver, NetworkPipeline, NetworkConnection).

    Declaration
    public int MaximumResendTime
    Field Value
    Type Description
    Int32

    Minimum resend time in milliseconds.

    MinimumResendTime

    Effective minimum resend time for unacknowledged reliable packets. Can be modified through SetMinimumResendTime(Int32, NetworkDriver, NetworkPipeline, NetworkConnection).

    Declaration
    public int MinimumResendTime
    Field Value
    Type Description
    Int32

    Minimum resend time in milliseconds.

    RttInfo

    Timing information used to calculate resend timeouts.

    Declaration
    public ReliableUtility.RTTInfo RttInfo
    Field Value
    Type Description
    ReliableUtility.RTTInfo

    RTT information.

    stats

    Statistics for the reliable pipeline.

    Declaration
    public ReliableUtility.Statistics stats
    Field Value
    Type Description
    ReliableUtility.Statistics

    Reliable pipeline statistics.

    WindowSize

    Effective window size of the reliable pipeline. Can't be modified at runtime, but can be set at configuration time through NetworkSettings.

    Declaration
    public int WindowSize
    Field Value
    Type Description
    Int32

    Window size in number of packets.

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