Table of Contents

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
Inherited Members

Properties

Count

public int Count { get; }

Property Value

int

Methods

Contains(T)

Determines whether the hashset snapshot contains a specific value.

public bool Contains(T item)

Parameters

item T

The object to locate in the snapshot.

Returns

bool

true if item is found; otherwise, false.

GetEnumerator()

public NetworkHashSetSnapshot<T>.Enumerator GetEnumerator()

Returns

NetworkHashSetSnapshot<T>.Enumerator