Table of Contents

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

Properties

Count

public int Count { get; }

Property Value

int

Head

Gets the first node in the linked list snapshot.

public NetworkLinkedListNode<T> Head { get; }

Property Value

NetworkLinkedListNode<T>

Tail

Gets the last node in the linked list snapshot.

public NetworkLinkedListNode<T> Tail { get; }

Property Value

NetworkLinkedListNode<T>

Methods

GetEnumerator()

public NetworkLinkedListSnapshot<T>.Enumerator GetEnumerator()

Returns

NetworkLinkedListSnapshot<T>.Enumerator

GetNode(int)

Gets the node at the specified index in the snapshot.

public NetworkLinkedListNode<T> GetNode(int index)

Parameters

index int

Returns

NetworkLinkedListNode<T>