Table of Contents

Struct NetworkDictionarySnapshot<TKey, TValue>

Namespace
Netick
Assembly
Netick.dll

A snapshot of the state of a NetworkDictionary<TKey, TValue> collection. Note this must not be used outside the scope of an OnChanged call or a NetworkRender call.

public struct NetworkDictionarySnapshot<TKey, TValue> : IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable where TKey : unmanaged where TValue : unmanaged

Type Parameters

TKey
TValue
Implements
IEnumerable<KeyValuePair<TKey, TValue>>
Inherited Members

Properties

Count

public int Count { get; }

Property Value

int

this[TKey]

public TValue this[TKey key] { get; }

Parameters

key TKey

Property Value

TValue

Methods

ContainsKey(TKey)

public bool ContainsKey(TKey key)

Parameters

key TKey

Returns

bool

ContainsValue(TValue)

public bool ContainsValue(TValue value)

Parameters

value TValue

Returns

bool

GetEnumerator()

public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()

Returns

IEnumerator<KeyValuePair<TKey, TValue>>

TryGetValue(TKey, out TValue)

public bool TryGetValue(TKey key, out TValue value)

Parameters

key TKey
value TValue

Returns

bool