docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NetworkDictionaryEvent<TKey, TValue>

    Struct containing event information about changes to a NetworkDictionary.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)