docs.unity3d.com
    Show / Hide Table of Contents

    Struct NetworkSnapshotAckComponent

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Unity.NetCode
    Syntax
    public struct NetworkSnapshotAckComponent : IComponentData, IQueryTypeParameter

    Fields

    DeviationRTT

    Declaration
    public float DeviationRTT
    Field Value
    Type Description
    System.Single

    EstimatedRTT

    Declaration
    public float EstimatedRTT
    Field Value
    Type Description
    System.Single

    LastReceivedRemoteTime

    Declaration
    public uint LastReceivedRemoteTime
    Field Value
    Type Description
    System.UInt32

    LastReceivedSnapshotByLocal

    Declaration
    public uint LastReceivedSnapshotByLocal
    Field Value
    Type Description
    System.UInt32

    LastReceivedSnapshotByRemote

    Declaration
    public uint LastReceivedSnapshotByRemote
    Field Value
    Type Description
    System.UInt32

    LastReceiveTimestamp

    Declaration
    public uint LastReceiveTimestamp
    Field Value
    Type Description
    System.UInt32

    ReceivedSnapshotByLocalMask

    Declaration
    public uint ReceivedSnapshotByLocalMask
    Field Value
    Type Description
    System.UInt32

    ServerCommandAge

    Declaration
    public int ServerCommandAge
    Field Value
    Type Description
    System.Int32

    Methods

    IsReceivedByRemote(UInt32)

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

    UpdateReceivedByRemote(UInt32, UInt32)

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

    UpdateRemoteTime(UInt32, UInt32, UInt32)

    Declaration
    public void UpdateRemoteTime(uint remoteTime, uint localTimeMinusRTT, uint localTime)
    Parameters
    Type Name Description
    System.UInt32 remoteTime
    System.UInt32 localTimeMinusRTT
    System.UInt32 localTime
    Back to top
    Copyright © 2025 Unity Technologies
    • 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 02 April 2025