Table of Contents

Class NetworkArray<T>

Namespace
Netick.Unity
Assembly
Netick.Unity.dll

A networked array.

[HideInInspector]
public class NetworkArray<T> : NetworkArray, INetworkCollection, IEnumerable<T>, IEnumerable where T : unmanaged

Type Parameters

T
Inheritance
NetworkArray<T>
Implements
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 INetickNetworkScript
state int*
elementSizeWords int
flags int

InternalReset()

public override void InternalReset()