docs.unity3d.com
    Show / Hide Table of Contents

    Struct ChangedLobbyValue<T>

    Contains whether or not a particular change has occurred, and if it has, the value of the change.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Services.Lobbies
    Syntax
    public struct ChangedLobbyValue<T>
    Type Parameters
    Name Description
    T

    The type of the value of the change.

    Constructors

    ChangedLobbyValue(T)

    Creates a changed value.

    Declaration
    public ChangedLobbyValue(T value)
    Parameters
    Type Name Description
    T value

    The new value provided by the change.

    Properties

    Added

    True if the value is new, false otherwise. An Added value is necessarily a Changed value.

    Declaration
    public bool Added { readonly get; }
    Property Value
    Type Description
    Boolean

    Changed

    True if a change has occurred, false if there has been no change. Changed value may or may not be an added value

    Declaration
    public readonly bool Changed { get; }
    Property Value
    Type Description
    Boolean

    Value

    The new value provided by the change.

    Declaration
    public readonly T Value { get; }
    Property Value
    Type Description
    T
    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