docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LobbyPlayerChanges

    Contains information about a set of changes to a player.

    Inheritance
    object
    LobbyPlayerChanges
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Lobbies
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    public class LobbyPlayerChanges

    Constructors

    LobbyPlayerChanges(int)

    Creates a set of changes for a player.

    Declaration
    public LobbyPlayerChanges(int index)
    Parameters
    Type Name Description
    int index

    The index of the player.

    Properties

    ChangedData

    The changes to the player's data.

    Declaration
    public ChangedOrRemovedLobbyValue<Dictionary<string, ChangedOrRemovedLobbyValue<PlayerDataObject>>> ChangedData { get; }
    Property Value
    Type Description
    ChangedOrRemovedLobbyValue<Dictionary<string, ChangedOrRemovedLobbyValue<PlayerDataObject>>>

    ConnectionInfoChanged

    The change to the player's connection information, if it has changed.

    Declaration
    public ChangedLobbyValue<string> ConnectionInfoChanged { get; }
    Property Value
    Type Description
    ChangedLobbyValue<string>

    LastUpdatedChanged

    When the change to the player occurrred.

    Declaration
    public ChangedLobbyValue<DateTime> LastUpdatedChanged { get; }
    Property Value
    Type Description
    ChangedLobbyValue<DateTime>

    PlayerIndex

    The index of the player.

    Declaration
    public int PlayerIndex { get; }
    Property Value
    Type Description
    int
    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)