docs.unity3d.com
    Show / Hide Table of Contents

    Class LobbyValue

    Helper class for instantiating ChangedLobbyValue and ChangedOrRemovedLobbyValue!

    Inheritance
    Object
    LobbyValue
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Services.Lobbies
    Syntax
    public static class LobbyValue

    Methods

    Added<T>(T)

    Provides an added lobby value.

    Declaration
    public static ChangedLobbyValue<T> Added<T>(T value)
    Parameters
    Type Name Description
    T value

    The new value.

    Returns
    Type Description
    ChangedLobbyValue<T>

    An added lobby value.

    Type Parameters
    Name Description
    T

    The type of the value to add.

    ChangeAdded<T>(T)

    Instantiates an added lobby value.

    Declaration
    public static ChangedOrRemovedLobbyValue<T> ChangeAdded<T>(T value)
    Parameters
    Type Name Description
    T value

    The value of the addition.

    Returns
    Type Description
    ChangedOrRemovedLobbyValue<T>

    An added lobby value.

    Type Parameters
    Name Description
    T

    The type of the value to add.

    Changed<T>(T)

    Instantiates a changed lobby value.

    Declaration
    public static ChangedLobbyValue<T> Changed<T>(T value)
    Parameters
    Type Name Description
    T value

    The new value it has changed to.

    Returns
    Type Description
    ChangedLobbyValue<T>

    A changed lobby value.

    Type Parameters
    Name Description
    T

    The type of the value to change.

    ChangedNotRemoved<T>(T)

    Instantiates a changed lobby value.

    Declaration
    public static ChangedOrRemovedLobbyValue<T> ChangedNotRemoved<T>(T value)
    Parameters
    Type Name Description
    T value

    The new value it has changed to.

    Returns
    Type Description
    ChangedOrRemovedLobbyValue<T>

    A changed lobby value.

    Type Parameters
    Name Description
    T

    The type of the value to change.

    Removed<T>()

    Provides a removed lobby value.

    Declaration
    public static ChangedOrRemovedLobbyValue<T> Removed<T>()
    Returns
    Type Description
    ChangedOrRemovedLobbyValue<T>
    Type Parameters
    Name 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