docs.unity.cn
    Show / Hide Table of Contents

    Class LobbyPlayerChanges

    Contains information about a set of changes to a player.

    Inheritance
    Object
    LobbyPlayerChanges
    Namespace: Unity.Services.Lobbies
    Syntax
    public class LobbyPlayerChanges

    Constructors

    LobbyPlayerChanges(Int32)

    Creates a set of changes for a player.

    Declaration
    public LobbyPlayerChanges(int index)
    Parameters
    Type Name Description
    Int32 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
    Int32
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 14, 2023