Player
Properties
Optional Allocation Id
Optional Connection Info
Connection information for connecting to a relay with this player.
Optional Data
Custom game-specific properties that apply to an individual player (e.g. role
or skill
).
Type declaration
-
[key: string]: PlayerDataObject
Optional 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.
Optional Joined
The time at which the player joined the lobby.
Optional Last Updated
The last time the metadata for this player was updated.
The
allocationId
from the Relay service which associates this player in this lobby with a persistent connection. When a disconnect notification is received, this value is used to identify the associated player in a lobby to mark them as disconnected.Player