docs.unity3d.com
    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
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023