docs.unity3d.com
    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.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Cloud.Presence.Runtime
    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

    Properties

    Key

    the key changed, added or removed if available.

    Declaration
    public TKey Key { readonly get; set; }
    Property Value
    Type Description
    TKey

    PreviousValue

    The previous value when "Value" has changed, if available.

    Declaration
    public TValue PreviousValue { readonly get; set; }
    Property Value
    Type Description
    TValue

    Type

    Enum representing the operation made to the dictionary.

    Declaration
    public NetworkDictionaryEvent<TKey, TValue>.EventType Type { readonly get; set; }
    Property Value
    Type Description
    NetworkDictionaryEvent.EventType<>

    Value

    The value changed, added or removed if available.

    Declaration
    public TValue Value { readonly get; set; }
    Property Value
    Type Description
    TValue

    Extension Methods

    GenericDataExtensions.SerializeToByteArray(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023