docs.unity3d.com
Search Results for

    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.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Services.Lobbies
    Assembly: Unity.Services.Multiplayer.dll
    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 readonly bool Added { get; }
    Property Value
    Type Description
    bool

    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
    bool

    Value

    The new value provided by the change.

    Declaration
    public readonly T Value { get; }
    Property Value
    Type Description
    T
    In This Article
    Back to top
    Copyright © 2024 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)