docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SyncListUInt

    A list of unsigned integers that will be synchronized from server to clients.

    Inheritance
    object
    SyncList<uint>
    SyncListUInt
    Implements
    IList<uint>
    ICollection<uint>
    IEnumerable<uint>
    IEnumerable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Networking
    Assembly: com.unity.multiplayer-hlapi.Runtime.dll
    Syntax
    [Obsolete("The high level API classes are deprecated and will be removed in the future.")]
    public class SyncListUInt : SyncList<uint>, IList<uint>, ICollection<uint>, IEnumerable<uint>, IEnumerable

    Methods

    DeserializeItem(NetworkReader)

    This method is used when deserializing SyncList items from a stream.

    Declaration
    protected override uint DeserializeItem(NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader

    Stream to read from.

    Returns
    Type Description
    uint

    New instance of the SyncList value type.

    Overrides
    SyncList<uint>.DeserializeItem(NetworkReader)

    ReadInstance(NetworkReader)

    Declaration
    [Obsolete("ReadReference is now used instead")]
    public static SyncListUInt ReadInstance(NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    SyncListUInt

    ReadReference(NetworkReader, SyncListUInt)

    An internal function used for serializing SyncList member variables.

    Declaration
    public static void ReadReference(NetworkReader reader, SyncListUInt syncList)
    Parameters
    Type Name Description
    NetworkReader reader
    SyncListUInt syncList

    SerializeItem(NetworkWriter, uint)

    This is used to write a value object from a SyncList to a stream.

    Declaration
    protected override void SerializeItem(NetworkWriter writer, uint item)
    Parameters
    Type Name Description
    NetworkWriter writer

    Stream to write to.

    uint item

    Item to write.

    Overrides
    SyncList<uint>.SerializeItem(NetworkWriter, uint)

    WriteInstance(NetworkWriter, SyncListUInt)

    Declaration
    public static void WriteInstance(NetworkWriter writer, SyncListUInt items)
    Parameters
    Type Name Description
    NetworkWriter writer
    SyncListUInt items

    Implements

    IList<T>
    ICollection<T>
    IEnumerable<T>
    IEnumerable
    In This Article
    Back to top
    Copyright © 2025 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)