Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data MatchedPlayerSession Source #
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.
See: newMatchedPlayerSession
smart constructor.
Instances
newMatchedPlayerSession :: MatchedPlayerSession Source #
Create a value of MatchedPlayerSession
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:playerSessionId:MatchedPlayerSession'
, matchedPlayerSession_playerSessionId
- A unique identifier for a player session
$sel:playerId:MatchedPlayerSession'
, matchedPlayerSession_playerId
- A unique identifier for a player
matchedPlayerSession_playerSessionId :: Lens' MatchedPlayerSession (Maybe Text) Source #
A unique identifier for a player session
matchedPlayerSession_playerId :: Lens' MatchedPlayerSession (Maybe Text) Source #
A unique identifier for a player