docs.unity3d.com
Search Results for

    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.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Networking.Transport.Utilities
    Assembly: Unity.Networking.Transport.dll
    Syntax
    public struct ReliableUtility.SharedContext

    Fields

    MaximumResendTime

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

    Declaration
    public int MaximumResendTime
    Field Value
    Type Description
    int

    Minimum resend time in milliseconds.

    MinimumResendTime

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

    Declaration
    public int MinimumResendTime
    Field Value
    Type Description
    int

    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.

    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
    int

    Window size in number of packets.

    stats

    Statistics for the reliable pipeline.

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

    Reliable pipeline statistics.

    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)