docs.unity3d.com
    Show / Hide Table of Contents

    Struct NetworkSnapshotAckComponent

    Namespace: Unity.NetCode
    Syntax
    public struct NetworkSnapshotAckComponent : IComponentData

    Fields

    DeviationRTT

    Declaration
    public float DeviationRTT
    Field Value
    Type Description
    Single

    EstimatedRTT

    Declaration
    public float EstimatedRTT
    Field Value
    Type Description
    Single

    LastReceivedRemoteTime

    Declaration
    public uint LastReceivedRemoteTime
    Field Value
    Type Description
    UInt32

    LastReceivedSnapshotByLocal

    Declaration
    public uint LastReceivedSnapshotByLocal
    Field Value
    Type Description
    UInt32

    LastReceivedSnapshotByRemote

    Declaration
    public uint LastReceivedSnapshotByRemote
    Field Value
    Type Description
    UInt32

    LastReceiveTimestamp

    Declaration
    public uint LastReceiveTimestamp
    Field Value
    Type Description
    UInt32

    NumLoadedPrefabs

    Declaration
    public uint NumLoadedPrefabs
    Field Value
    Type Description
    UInt32

    ReceivedSnapshotByLocalMask

    Declaration
    public uint ReceivedSnapshotByLocalMask
    Field Value
    Type Description
    UInt32

    RemoteInterpolationDelay

    Declaration
    public uint RemoteInterpolationDelay
    Field Value
    Type Description
    UInt32

    ServerCommandAge

    Declaration
    public int ServerCommandAge
    Field Value
    Type Description
    Int32

    Methods

    IsReceivedByRemote(UInt32)

    Declaration
    public bool IsReceivedByRemote(uint tick)
    Parameters
    Type Name Description
    UInt32 tick
    Returns
    Type Description
    Boolean

    UpdateReceivedByRemote(UInt32, UInt32)

    Declaration
    public void UpdateReceivedByRemote(uint tick, uint mask)
    Parameters
    Type Name Description
    UInt32 tick
    UInt32 mask

    UpdateRemoteAckedData(UInt32, UInt32, UInt32)

    Declaration
    public void UpdateRemoteAckedData(uint remoteTime, uint numLoadedPrefabs, uint interpolationDelay)
    Parameters
    Type Name Description
    UInt32 remoteTime
    UInt32 numLoadedPrefabs
    UInt32 interpolationDelay

    UpdateRemoteTime(UInt32, UInt32, UInt32)

    Declaration
    public void UpdateRemoteTime(uint remoteTime, uint localTimeMinusRTT, uint localTime)
    Parameters
    Type Name Description
    UInt32 remoteTime
    UInt32 localTimeMinusRTT
    UInt32 localTime
    Back to top
    Terms of use
    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