Class SyncListInt
A list of integers that will be synchronized from server to clients.
Syntax
[Obsolete("The high level API classes are deprecated and will be removed in the future.")]
public class SyncListInt : SyncList<int>, IList<int>, ICollection<int>, IEnumerable<int>, IEnumerable
Methods
DeserializeItem(NetworkReader)
Declaration
protected override int DeserializeItem(NetworkReader reader)
Parameters
Returns
Overrides
UnityEngine.Networking.SyncList<System.Int32>.DeserializeItem(UnityEngine.Networking.NetworkReader)
ReadInstance(NetworkReader)
Declaration
[Obsolete("ReadReference is now used instead")]
public static SyncListInt ReadInstance(NetworkReader reader)
Parameters
Returns
ReadReference(NetworkReader, SyncListInt)
An internal function used for serializing SyncList member variables.
Declaration
public static void ReadReference(NetworkReader reader, SyncListInt syncList)
Parameters
SerializeItem(NetworkWriter, Int32)
Declaration
protected override void SerializeItem(NetworkWriter writer, int item)
Parameters
Overrides
UnityEngine.Networking.SyncList<System.Int32>.SerializeItem(UnityEngine.Networking.NetworkWriter, System.Int32)
WriteInstance(NetworkWriter, SyncListInt)
Declaration
public static void WriteInstance(NetworkWriter writer, SyncListInt items)
Parameters