Struct NullCommandData | Unity NetCode | 0.2.0-preview.5
docs.unity3d.com
    Show / Hide Table of Contents

    Struct NullCommandData

    Namespace: Unity.NetCode
    Syntax
    public struct NullCommandData : ICommandData<NullCommandData>, IBufferElementData

    Properties

    Tick

    Declaration
    public uint Tick { get; }
    Property Value
    Type Description
    UInt32
    Implements
    ICommandData<T>.Tick

    Methods

    Deserialize(UInt32, ref DataStreamReader)

    Declaration
    public void Deserialize(uint tick, ref DataStreamReader reader)
    Parameters
    Type Name Description
    UInt32 tick
    DataStreamReader reader
    Implements
    ICommandData<T>.Deserialize(UInt32, ref DataStreamReader)

    Deserialize(UInt32, ref DataStreamReader, NullCommandData, NetworkCompressionModel)

    Declaration
    public void Deserialize(uint tick, ref DataStreamReader reader, NullCommandData baseline, NetworkCompressionModel compressionModel)
    Parameters
    Type Name Description
    UInt32 tick
    DataStreamReader reader
    NullCommandData baseline
    NetworkCompressionModel compressionModel
    Implements
    ICommandData<T>.Deserialize(UInt32, ref DataStreamReader, T, NetworkCompressionModel)

    Serialize(ref DataStreamWriter)

    Declaration
    public void Serialize(ref DataStreamWriter writer)
    Parameters
    Type Name Description
    DataStreamWriter writer
    Implements
    ICommandData<T>.Serialize(ref DataStreamWriter)

    Serialize(ref DataStreamWriter, NullCommandData, NetworkCompressionModel)

    Declaration
    public void Serialize(ref DataStreamWriter writer, NullCommandData baseline, NetworkCompressionModel compressionModel)
    Parameters
    Type Name Description
    DataStreamWriter writer
    NullCommandData baseline
    NetworkCompressionModel compressionModel
    Implements
    ICommandData<T>.Serialize(ref DataStreamWriter, T, NetworkCompressionModel)
    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