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
Type | Name | Description |
---|---|---|
System.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<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
Type | Description |
---|---|
ChangedLobbyValue<System.String> |
LastUpdatedChanged
When the change to the player occurrred.
Declaration
public ChangedLobbyValue<DateTime> LastUpdatedChanged { get; }
Property Value
Type | Description |
---|---|
ChangedLobbyValue<System.DateTime> |
PlayerIndex
The index of the player.
Declaration
public int PlayerIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |