Module Values.MatchedPlayerSessionSource

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.

Sourcetype nonrec t = {
  1. playerId : PlayerId.t option;
    (*

    A unique identifier for a player

    *)
  2. playerSessionId : PlayerSessionId.t option;
    (*

    A unique identifier for a player session. PlayerSessionId will only be populated for player sessions that are in ACTIVE or RESERVED status when the ticket is completed.

    *)
}
Sourceval make : ?playerId:??? -> ?playerSessionId:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of PlayerId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t