Class SyncListBool
A list of booleans 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 SyncListBool : SyncList<bool>, IList<bool>, ICollection<bool>, IEnumerable<bool>, IEnumerable
Methods
DeserializeItem(NetworkReader)
Declaration
protected override bool DeserializeItem(NetworkReader reader)
Parameters
Returns
Overrides
UnityEngine.Networking.SyncList<System.Boolean>.DeserializeItem(UnityEngine.Networking.NetworkReader)
ReadInstance(NetworkReader)
Declaration
[Obsolete("ReadReference is now used instead")]
public static SyncListBool ReadInstance(NetworkReader reader)
Parameters
Returns
ReadReference(NetworkReader, SyncListBool)
An internal function used for serializing SyncList member variables.
Declaration
public static void ReadReference(NetworkReader reader, SyncListBool syncList)
Parameters
SerializeItem(NetworkWriter, Boolean)
Declaration
protected override void SerializeItem(NetworkWriter writer, bool item)
Parameters
Overrides
UnityEngine.Networking.SyncList<System.Boolean>.SerializeItem(UnityEngine.Networking.NetworkWriter, System.Boolean)
WriteInstance(NetworkWriter, SyncListBool)
Declaration
public static void WriteInstance(NetworkWriter writer, SyncListBool items)
Parameters