Class SyncSet<T>
Inheritance
System.Object
Inherited Members
Show
Syntax
public class SyncSet<T> : ISet<T>, ICollection<T>, IEnumerable<T>, IEnumerable, ISyncObject
Type Parameters
Name | Description |
---|---|
T |
Constructors
SyncSet(ISet<T>)
Declaration
public SyncSet(ISet<T> objects)
Parameters
Type | Name | Description |
---|---|---|
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
Type | Name | Description |
---|---|---|
System.Boolean | shouldSync |
ISyncObject.SetNetworkBehaviour(NetworkBehaviour)
Declaration
void ISyncObject.SetNetworkBehaviour(NetworkBehaviour networkBehaviour)
Parameters
Type | Name | Description |
---|---|---|
Mirage.NetworkBehaviour | networkBehaviour |
Reset()
Declaration
public void Reset()
Flush()
Declaration
public void Flush()
OnSerializeAll(NetworkWriter)
Declaration
public void OnSerializeAll(NetworkWriter writer)
Parameters
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkWriter | writer |
OnSerializeDelta(NetworkWriter)
Declaration
public void OnSerializeDelta(NetworkWriter writer)
Parameters
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkWriter | writer |
OnDeserializeAll(NetworkReader)
Declaration
public void OnDeserializeAll(NetworkReader reader)
Parameters
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkReader | reader |
OnDeserializeDelta(NetworkReader)
Declaration
public void OnDeserializeDelta(NetworkReader reader)
Parameters
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkReader | reader |
Add(T)
Declaration
public bool Add(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item |
Returns
Type | Description |
---|---|
System.Boolean |
ICollection<T>.Add(T)
Declaration
void ICollection<T>.Add(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item |
Clear()
Declaration
public void Clear()
Contains(T)
Declaration
public bool Contains(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item |
Returns
Type | Description |
---|---|
System.Boolean |
CopyTo(T[], Int32)
Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
{T}[] | array | |
System.Int32 | arrayIndex |
Remove(T)
Declaration
public bool Remove(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item |
Returns
Type | Description |
---|---|
System.Boolean |
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<T> |
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
ExceptWith(IEnumerable<T>)
Declaration
public void ExceptWith(IEnumerable<T> other)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | other |
IntersectWith(IEnumerable<T>)
Declaration
public void IntersectWith(IEnumerable<T> other)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | other |
IsProperSubsetOf(IEnumerable<T>)
Declaration
public bool IsProperSubsetOf(IEnumerable<T> other)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | other |
Returns
Type | Description |
---|---|
System.Boolean |
IsProperSupersetOf(IEnumerable<T>)
Declaration
public bool IsProperSupersetOf(IEnumerable<T> other)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | other |
Returns
Type | Description |
---|---|
System.Boolean |
IsSubsetOf(IEnumerable<T>)
Declaration
public bool IsSubsetOf(IEnumerable<T> other)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | other |
Returns
Type | Description |
---|---|
System.Boolean |
IsSupersetOf(IEnumerable<T>)
Declaration
public bool IsSupersetOf(IEnumerable<T> other)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overlaps(IEnumerable<T>)
Declaration
public bool Overlaps(IEnumerable<T> other)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | other |
Returns
Type | Description |
---|---|
System.Boolean |
SetEquals(IEnumerable<T>)
Declaration
public bool SetEquals(IEnumerable<T> other)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | other |
Returns
Type | Description |
---|---|
System.Boolean |
SymmetricExceptWith(IEnumerable<T>)
Declaration
public void SymmetricExceptWith(IEnumerable<T> other)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | other |
UnionWith(IEnumerable<T>)
Declaration
public void UnionWith(IEnumerable<T> other)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | other |