Skip to content

Mirror::SyncHashSet

More...

Inherits from Mirror::SyncSet< T >, ISet< T >, SyncObject

Public Functions

Name
SyncHashSet()
SyncHashSet(IEqualityComparer< T > comparer)
new HashSet< T >.Enumerator GetEnumerator()

Additional inherited members

Public Events inherited from Mirror::SyncSet< T >

Name
SyncSetChanged Callback()

Public Functions inherited from Mirror::SyncSet< T >

Name
delegate void SyncSetChanged(Operation op, T item)
SyncSet(ISet< T > objects)
void Reset()
Resets the SyncObject so that it can be re-used
void Flush()
Discard all the queued changes
void OnSerializeAll(NetworkWriter writer)
Write a full copy of the object
void OnSerializeDelta(NetworkWriter writer)
Write the changes made to the object since last sync
void OnDeserializeAll(NetworkReader reader)
Reads a full copy of the object
void OnDeserializeDelta(NetworkReader reader)
Reads the changes made to the object since last sync
bool Add(T item)
void Clear()
bool Contains(T item)
void CopyTo(T [] array, int index)
bool Remove(T item)
void ExceptWith(IEnumerable< T > other)
void IntersectWith(IEnumerable< T > other)
bool IsProperSubsetOf(IEnumerable< T > other)
bool IsProperSupersetOf(IEnumerable< T > other)
bool IsSubsetOf(IEnumerable< T > other)
bool IsSupersetOf(IEnumerable< T > other)
bool Overlaps(IEnumerable< T > other)
bool SetEquals(IEnumerable< T > other)
void SymmetricExceptWith(IEnumerable< T > other)
void UnionWith(IEnumerable< T > other)

Public Properties inherited from Mirror::SyncSet< T >

Name
bool IsReadOnly

Public Attributes inherited from Mirror::SyncSet< T >

Name
int Count
bool IsDirty

Protected Attributes inherited from Mirror::SyncSet< T >

Name
readonly ISet< T > objects

Public Functions inherited from SyncObject

Name
void Flush()
Discard all the queued changes
void OnSerializeAll(NetworkWriter writer)
Write a full copy of the object
void OnSerializeDelta(NetworkWriter writer)
Write the changes made to the object since last sync
void OnDeserializeAll(NetworkReader reader)
Reads a full copy of the object
void OnDeserializeDelta(NetworkReader reader)
Reads the changes made to the object since last sync
void Reset()
Resets the SyncObject so that it can be re-used

Public Properties inherited from SyncObject

Name
bool IsDirty
true if there are changes since the last flush

Detailed Description

template <T >
class Mirror::SyncHashSet;

Public Functions Documentation

function SyncHashSet

inline SyncHashSet()

function SyncHashSet

inline SyncHashSet(
    IEqualityComparer< T > comparer
)

function GetEnumerator

new HashSet< T >.Enumerator GetEnumerator()

Updated on 25 January 2021 at 01:28:46 UTC