docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ChangedOrRemovedLobbyValue<T>

    Contains whether or not a particular change or removal has occurred. If a change has occurred, also provides 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
    Assembly: solution.dll
    Syntax
    public struct ChangedOrRemovedLobbyValue<T>
    Type Parameters
    Name Description
    T

    The type of the value of the change.

    Constructors

    Name Description
    ChangedOrRemovedLobbyValue(T, LobbyValueChangeType)

    Creates a changed or removed value.

    Fields

    Name Description
    RemoveThisValue

    A helper for providing a removal of the value without having to call a constructor.

    Properties

    Name Description
    Added

    True if the value was newly added, false otherwise. Removed and Added properties are mutually exclusive.

    ChangeType

    Whether this is a change, a removal, or an addition.

    Changed

    True if a change has occurred, false if there has been no change. Removed and Changed properties are mutually exclusive.

    Removed

    True if the value has been removed, false if it hasn't been removed. Removed properties are mutually exclusive with Changed and Added properties.

    Value

    The new value provided by the change.

    In This Article
    Back to top
    Copyright © 2023 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)