v1.2.1
Latest
2020.3+

Class LobbyPlayerChanges

Contains information about a set of changes to a player.

Inheritance
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
TypeNameDescription
Int32index

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
TypeDescription
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
TypeDescription
ChangedLobbyValue<String>

LastUpdatedChanged

When the change to the player occurrred.

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

PlayerIndex

The index of the player.

Declaration
public int PlayerIndex { get; }
Property Value
TypeDescription
Int32