Class: Aws::GameLift::Types::MatchedPlayerSession

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb

Overview

Represents a new player session that is created as a result of a successful FlexMatch match. A successful match automatically creates new player sessions for every player ID in the original matchmaking request.

When players connect to the match's game session, they must include both player ID and player session ID in order to claim their assigned player slot.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#player_idString

A unique identifier for a player

Returns:

  • (String)


6145
6146
6147
6148
6149
6150
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 6145

class MatchedPlayerSession < Struct.new(
  :player_id,
  :player_session_id)
  SENSITIVE = []
  include Aws::Structure
end

#player_session_idString

A unique identifier for a player session

Returns:

  • (String)


6145
6146
6147
6148
6149
6150
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 6145

class MatchedPlayerSession < Struct.new(
  :player_id,
  :player_session_id)
  SENSITIVE = []
  include Aws::Structure
end