Skip to main content

Class SyncSet<T>

Inheritance
System.Object
Inherited Members
Show
Syntax
public class SyncSet<T> : ISet<T>, ICollection<T>, IEnumerable<T>, IEnumerable, ISyncObject
Type Parameters
NameDescription
T

Constructors

SyncSet(ISet<T>)

Declaration
public SyncSet(ISet<T> objects)
Parameters
TypeNameDescription
System.Collections.Generic.ISet<T>objects

Fields

objects

Declaration
protected readonly ISet<T> objects

Properties

Count

Declaration
public int Count { get; }

IsReadOnly

Declaration
public bool IsReadOnly { get; }

IsDirty

Declaration
public bool IsDirty { get; }

Methods

ISyncObject.SetShouldSyncFrom(Boolean)

Declaration
void ISyncObject.SetShouldSyncFrom(bool shouldSync)
Parameters
TypeNameDescription
System.BooleanshouldSync

ISyncObject.SetNetworkBehaviour(NetworkBehaviour)

Declaration
void ISyncObject.SetNetworkBehaviour(NetworkBehaviour networkBehaviour)
Parameters
TypeNameDescription
Mirage.NetworkBehaviournetworkBehaviour

Reset()

Declaration
public void Reset()

Flush()

Declaration
public void Flush()

OnSerializeAll(NetworkWriter)

Declaration
public void OnSerializeAll(NetworkWriter writer)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter

OnSerializeDelta(NetworkWriter)

Declaration
public void OnSerializeDelta(NetworkWriter writer)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter

OnDeserializeAll(NetworkReader)

Declaration
public void OnDeserializeAll(NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader

OnDeserializeDelta(NetworkReader)

Declaration
public void OnDeserializeDelta(NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader

Add(T)

Declaration
public bool Add(T item)
Parameters
TypeNameDescription
Titem
Returns
TypeDescription
System.Boolean

ICollection<T>.Add(T)

Declaration
void ICollection<T>.Add(T item)
Parameters
TypeNameDescription
Titem

Clear()

Declaration
public void Clear()

Contains(T)

Declaration
public bool Contains(T item)
Parameters
TypeNameDescription
Titem
Returns
TypeDescription
System.Boolean

CopyTo(T[], Int32)

Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
TypeNameDescription
{T}[]array
System.Int32arrayIndex

Remove(T)

Declaration
public bool Remove(T item)
Parameters
TypeNameDescription
Titem
Returns
TypeDescription
System.Boolean

GetEnumerator()

Declaration
public IEnumerator<T> GetEnumerator()
Returns
TypeDescription
System.Collections.Generic.IEnumerator<T>

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
System.Collections.IEnumerator

ExceptWith(IEnumerable<T>)

Declaration
public void ExceptWith(IEnumerable<T> other)
Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<T>other

IntersectWith(IEnumerable<T>)

Declaration
public void IntersectWith(IEnumerable<T> other)
Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<T>other

IsProperSubsetOf(IEnumerable<T>)

Declaration
public bool IsProperSubsetOf(IEnumerable<T> other)
Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<T>other
Returns
TypeDescription
System.Boolean

IsProperSupersetOf(IEnumerable<T>)

Declaration
public bool IsProperSupersetOf(IEnumerable<T> other)
Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<T>other
Returns
TypeDescription
System.Boolean

IsSubsetOf(IEnumerable<T>)

Declaration
public bool IsSubsetOf(IEnumerable<T> other)
Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<T>other
Returns
TypeDescription
System.Boolean

IsSupersetOf(IEnumerable<T>)

Declaration
public bool IsSupersetOf(IEnumerable<T> other)
Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<T>other
Returns
TypeDescription
System.Boolean

Overlaps(IEnumerable<T>)

Declaration
public bool Overlaps(IEnumerable<T> other)
Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<T>other
Returns
TypeDescription
System.Boolean

SetEquals(IEnumerable<T>)

Declaration
public bool SetEquals(IEnumerable<T> other)
Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<T>other
Returns
TypeDescription
System.Boolean

SymmetricExceptWith(IEnumerable<T>)

Declaration
public void SymmetricExceptWith(IEnumerable<T> other)
Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<T>other

UnionWith(IEnumerable<T>)

Declaration
public void UnionWith(IEnumerable<T> other)
Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<T>other