Struct NetworkLinkedListSnapshot<T>
- Namespace
- Netick
- Assembly
- Netick.dll
A snapshot of the state of a NetworkLinkedList<T> collection. Note this must not be used outside the scope of an OnChanged call or a NetworkRender call.
public struct NetworkLinkedListSnapshot<T> : IEnumerable<T>, IEnumerable where T : unmanaged
Type Parameters
T
- Implements
-
IEnumerable<T>
- Inherited Members
Properties
Count
public int Count { get; }
Property Value
Head
Gets the first node in the linked list snapshot.
public NetworkLinkedListNode<T> Head { get; }
Property Value
Tail
Gets the last node in the linked list snapshot.
public NetworkLinkedListNode<T> Tail { get; }
Property Value
Methods
GetEnumerator()
public NetworkLinkedListSnapshot<T>.Enumerator GetEnumerator()
Returns
GetNode(int)
Gets the node at the specified index in the snapshot.
public NetworkLinkedListNode<T> GetNode(int index)
Parameters
indexint