Table of Contents

Class NetworkQueue<T>

Namespace
Netick
Assembly
Netick.dll

A networked Queue<T> collection.

public sealed class NetworkQueue<T> : NetworkQueue, INetworkCollection, IEnumerable<T>, IEnumerable where T : unmanaged

Type Parameters

T
Inheritance
NetworkQueue<T>
Implements
Inherited Members

Constructors

NetworkQueue(int)

public NetworkQueue(int capacity)

Parameters

capacity int

Properties

Count

public int Count { get; }

Property Value

int

Methods

Add(T)

public void Add(T item)

Parameters

item T

Clear()

public void Clear()

Dequeue()

public T Dequeue()

Returns

T

Enqueue(T)

public bool Enqueue(T item)

Parameters

item T

Returns

bool

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()

Peek()

public T Peek()

Returns

T

TryDequeue(out T)

public bool TryDequeue(out T result)

Parameters

result T

Returns

bool

TryPeek(out T)

public bool TryPeek(out T result)

Parameters

result T

Returns

bool