Struct ReliableUtility.SharedContext | Unity Transport | 0.3.1-preview.4
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ReliableUtility.SharedContext

    Namespace: Unity.Networking.Transport.Utilities
    Syntax
    public struct SharedContext

    Fields

    errorCode

    Declaration
    public ReliableUtility.ErrorCodes errorCode
    Field Value
    Type Description
    ReliableUtility.ErrorCodes

    MinimumResendTime

    Declaration
    public int MinimumResendTime
    Field Value
    Type Description
    Int32

    ReceivedPackets

    Context of received packets, last sequence ID received, and ackmask of received packets. Acked is not used. This is sent back to the remote peer in the header when sending.

    Declaration
    public SequenceBufferContext ReceivedPackets
    Field Value
    Type Description
    SequenceBufferContext

    RemoteTimerDataOffset

    Declaration
    public int RemoteTimerDataOffset
    Field Value
    Type Description
    Int32

    RemoteTimerDataStride

    Declaration
    public int RemoteTimerDataStride
    Field Value
    Type Description
    Int32

    RttInfo

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

    SentPackets

    Context of sent packets, last sequence ID sent (-1), last ID of our sent packet acknowledged by remote peer, ackmask of acknowledged packets. This is used when determining if a resend is needed.

    Declaration
    public SequenceBufferContext SentPackets
    Field Value
    Type Description
    SequenceBufferContext

    stats

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

    TimerDataOffset

    Declaration
    public int TimerDataOffset
    Field Value
    Type Description
    Int32

    TimerDataStride

    Declaration
    public int TimerDataStride
    Field Value
    Type Description
    Int32

    WindowSize

    Declaration
    public int WindowSize
    Field Value
    Type Description
    Int32
    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