v1.2.1
Latest
2020.3+
Class LobbyPlayerChanges
Contains information about a set of changes to a player.
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 |