Class: Aws::GameLift::Types::DesiredPlayerSession
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::DesiredPlayerSession
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-gamelift/types.rb
Overview
Note:
When making an API call, you may pass DesiredPlayerSession data as a hash:
{
player_id: "NonZeroAndMaxString",
player_data: "PlayerData",
}
Player information for use when creating player sessions using a game session placement request with StartGameSessionPlacement.
Instance Attribute Summary collapse
-
#player_data ⇒ String
Developer-defined information related to a player.
-
#player_id ⇒ String
Unique identifier for a player to associate with the player session.
Instance Attribute Details
#player_data ⇒ String
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.
2552 2553 2554 2555 2556 |
# File 'lib/aws-sdk-gamelift/types.rb', line 2552 class DesiredPlayerSession < Struct.new( :player_id, :player_data) include Aws::Structure end |
#player_id ⇒ String
Unique identifier for a player to associate with the player session.
2552 2553 2554 2555 2556 |
# File 'lib/aws-sdk-gamelift/types.rb', line 2552 class DesiredPlayerSession < Struct.new( :player_id, :player_data) include Aws::Structure end |