Class NetworkArray<T>
A networked array.
[HideInInspector]
public class NetworkArray<T> : NetworkArray, INetworkCollection, IEnumerable<T>, IEnumerable where T : unmanaged
Type Parameters
T
- Inheritance
-
NetworkArray<T>
- Implements
-
IEnumerable<T>
- Inherited Members
Constructors
NetworkArray(int)
public NetworkArray(int capacity)
Parameters
capacity
int
Properties
this[int]
public T this[int i] { get; set; }
Parameters
i
int
Property Value
- T
Methods
Add(T)
public void Add(T element)
Parameters
element
T
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()