Struct NetworkDictionaryEvent<TKey, TValue>
Struct containing event information about changes to a NetworkDictionary.
Inherited Members
Namespace: MLAPI.NetworkVariable.Collections
Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
Syntax
public struct NetworkDictionaryEvent<TKey, TValue>
Type Parameters
| Name | Description |
|---|---|
| TKey | The type for the dictionary key that the event is about |
| TValue | The type for the dictionary value that the event is about |
Fields
Key
the key changed, added or removed if available.
Declaration
public TKey Key
Field Value
| Type | Description |
|---|---|
| TKey |
Type
Enum representing the operation made to the dictionary.
Declaration
public NetworkDictionaryEvent<TKey, TValue>.EventType Type
Field Value
| Type | Description |
|---|---|
| NetworkDictionaryEvent<TKey, TValue>.EventType |
Value
The value changed, added or removed if available.
Declaration
public TValue Value
Field Value
| Type | Description |
|---|---|
| TValue |