Class SyncListUInt | Multiplayer HLAPI | 1.0.8
docs.unity3d.com
    Show / Hide Table of Contents

    Class SyncListUInt

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

    Inheritance
    Object
    SyncList<UInt32>
    SyncListUInt
    Inherited Members
    SyncList<UInt32>.Count
    SyncList<UInt32>.IsReadOnly
    SyncList<UInt32>.Callback
    SyncList<UInt32>.InitializeBehaviour(NetworkBehaviour, Int32)
    SyncList<UInt32>.HandleMsg(NetworkReader)
    SyncList<UInt32>.Add(UInt32)
    SyncList<UInt32>.Clear()
    SyncList<UInt32>.Contains(UInt32)
    SyncList<UInt32>.CopyTo(UInt32[], Int32)
    SyncList<UInt32>.IndexOf(UInt32)
    SyncList<UInt32>.Insert(Int32, UInt32)
    SyncList<UInt32>.Remove(UInt32)
    SyncList<UInt32>.RemoveAt(Int32)
    SyncList<UInt32>.Dirty(Int32)
    SyncList<UInt32>.Item[Int32]
    SyncList<UInt32>.GetEnumerator()
    Namespace: UnityEngine.Networking
    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)

    Declaration
    protected override uint DeserializeItem(NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Returns
    Type Description
    UInt32
    Overrides
    UnityEngine.Networking.SyncList<System.UInt32>.DeserializeItem(UnityEngine.Networking.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, UInt32)

    Declaration
    protected override void SerializeItem(NetworkWriter writer, uint item)
    Parameters
    Type Name Description
    NetworkWriter writer
    UInt32 item
    Overrides
    UnityEngine.Networking.SyncList<System.UInt32>.SerializeItem(UnityEngine.Networking.NetworkWriter, System.UInt32)

    WriteInstance(NetworkWriter, SyncListUInt)

    Declaration
    public static void WriteInstance(NetworkWriter writer, SyncListUInt items)
    Parameters
    Type Name Description
    NetworkWriter writer
    SyncListUInt items
    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