Class NetworkUnorderedList<T>
- Namespace
- Netick
- Assembly
- Netick.dll
A networked list collection. This is an unordered list meaning that the order of the elements during iteration is undefined.
public sealed class NetworkUnorderedList<T> : NetworkUnorderedList, INetworkCollection, IEnumerable<T>, IEnumerable where T : unmanaged
Type Parameters
T
- Inheritance
-
NetworkUnorderedList<T>
- Implements
-
IEnumerable<T>
- Inherited Members
Constructors
NetworkUnorderedList(int)
public NetworkUnorderedList(int capacity)
Parameters
capacity
int
Properties
Count
public int Count { get; }
Property Value
Methods
Add(T)
public bool Add(T element)
Parameters
element
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 element)
Parameters
element
T