Class NetworkLinkedList<T>
- Namespace
- Netick
- Assembly
- Netick.dll
A networked linked list collection. This is an ordered list meaning that the elements insertion order is maintained when iterating through the collection.
public sealed class NetworkLinkedList<T> : NetworkLinkedList, INetworkCollection, IEnumerable<T>, IEnumerable where T : unmanaged
Type Parameters
T
- Inheritance
-
NetworkLinkedList<T>
- Implements
-
IEnumerable<T>
- Inherited Members
Constructors
NetworkLinkedList(int)
public NetworkLinkedList(int capacity)
Parameters
capacity
int
Properties
Count
public int Count { get; }
Property Value
Methods
Add(T)
public bool Add(T item)
Parameters
item
T
Returns
Clear()
public void Clear()
GetEnumerator()
public IEnumerator<T> GetEnumerator()
Returns
- IEnumerator<T>
InternalInit(INetickNetworkScript, int*, int, int)
public override void InternalInit(INetickNetworkScript beh, int* state, int elementSizeWords, int flags)
Parameters
beh
INetickNetworkScriptstate
int*elementSizeWords
intflags
int
InternalReset()
public override void InternalReset()
Remove(T)
public bool Remove(T item)
Parameters
item
T