docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method WritePackedULongDelta

    WritePackedULongDelta(ulong, ulong, NetworkCompressionModel)

    Writes a delta 8-byte unsigned long value to the data stream using a NetworkCompressionModel. Note that the unsigned long values are cast to a signed long after computing the diff.

    Declaration
    public bool WritePackedULongDelta(ulong value, ulong baseline, NetworkCompressionModel model)
    Parameters
    Type Name Description
    ulong value

    The current 8-byte unsigned long value.

    ulong baseline

    The previous 8-byte unsigned long, used to compute the diff.

    NetworkCompressionModel model

    NetworkCompressionModel model for writing value in a packed manner.

    Returns
    Type Description
    bool

    Whether the write was successful

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)