Module Values.PlayerLatencySource

Regional latency information for a player, used when requesting a new game session. This value indicates the amount of time lag that exists when the player is connected to a fleet in the specified Region. The relative difference between a player's latency values for multiple Regions are used to determine which fleets are best suited to place a new game session for the player.

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

    A unique identifier for a player associated with the latency data.

    *)
  2. regionIdentifier : NonZeroAndMaxString.t option;
    (*

    Name of the Region that is associated with the latency value.

    *)
  3. latencyInMilliseconds : Float_.t option;
    (*

    Amount of time that represents the time lag experienced by the player when connected to the specified Region.

    *)
}
Sourceval make : ?playerId:??? -> ?regionIdentifier:??? -> ?latencyInMilliseconds:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of Float_.t | `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