Container for the parameters to the CreatePlayerSession operation.
Adds a player to a game session and creates a player session record. Before a player
can be added, a game session must have an
ACTIVE status, have a creation
ALLOW_ALL, and have an open player slot. To add a group of
players to a game session, use CreatePlayerSessions.
To create a player session, specify a game session ID, player ID, and optionally a string of player data. If successful, the player is added to the game session and a new PlayerSession object is returned. Player sessions cannot be updated.
Available in Amazon GameLift Local.
Player-session-related operations include:
public class CreatePlayerSessionRequest : AmazonGameLiftRequest IAmazonWebServiceRequest
The CreatePlayerSessionRequest type exposes the following members
Gets and sets the property GameSessionId.
Unique identifier for the game session to add a player to.
Gets and sets the property PlayerData.
Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.
Gets and sets the property PlayerId.
Unique identifier for a player. Player IDs are developer-defined.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms