docs.unity.cn
    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 © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, March 31, 2022
    Terms of use