v1.0.0
Latest
2022.3+

Class LobbyPlayerChanges

Contains information about a set of changes to a player.

Inheritance
System.Object
LobbyPlayerChanges
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
System.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<System.Collections.Generic.Dictionary<System.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<System.String>

LastUpdatedChanged

When the change to the player occurrred.

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

PlayerIndex

The index of the player.

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