Class Player
Information about a specific player creating, joining, or already in a lobby.
Inherited Members
Namespace: Unity.Services.Lobbies.Models
Assembly: solution.dll
Syntax
[Preserve]
public class Player
Constructors
Name | Description |
---|---|
Player(string, string, Dictionary<string, PlayerDataObject>, string, DateTime, DateTime, PlayerProfile) | Information about a specific player creating, joining, or already in a lobby. |
Properties
Name | Description |
---|---|
AllocationId | The |
ConnectionInfo | Connection information for connecting to a relay with this player. |
Data | Custom game-specific properties that apply to an individual player (e.g. |
Id | The unique identifier for the player. If not provided for a create or join request, it will be set to the ID of the caller. |
Joined | The time at which the player joined the lobby. |
LastUpdated | The last time the metadata for this player was updated. |
Profile | Parameter profile of Player |