Struct NetworkHashSetSnapshot<T>
- Namespace
- Netick
- Assembly
- Netick.dll
A snapshot of the state of a NetworkHashSet<T> collection. Note this must not be used outside the scope of an OnChanged call or a NetworkRender call.
public struct NetworkHashSetSnapshot<T> : IEnumerable<T>, IEnumerable where T : unmanaged
Type Parameters
T
- Implements
-
IEnumerable<T>
- Inherited Members
Properties
Count
public int Count { get; }
Property Value
Methods
Contains(T)
Determines whether the hashset snapshot contains a specific value.
public bool Contains(T item)
Parameters
itemTThe object to locate in the snapshot.
Returns
- bool
true if item is found; otherwise, false.
GetEnumerator()
public NetworkHashSetSnapshot<T>.Enumerator GetEnumerator()