playfab_ex v0.2.2 PlayfabEx.Client.Matchmaking

Link to this section Summary

Functions

Get details about all current running game servers matching the given parameters

Get details about the regions hosting game servers matching the given parameters

Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound

Start a new game server with a given configuration, add the current player and return the connection information

Link to this section Functions

Link to this function get_current_games(params)
get_current_games(map()) :: {:ok, map()} | {:error, String.t()}

Get details about all current running game servers matching the given parameters.

online docs

Link to this function get_game_server_regions(params)
get_game_server_regions(map()) :: {:ok, map()} | {:error, String.t()}

Get details about the regions hosting game servers matching the given parameters.

online docs

Link to this function matchmake(params)
matchmake(map()) :: {:ok, map()} | {:error, String.t()}

Attempts to locate a game session matching the given parameters. If the goal is to match the player into a specific active session, only the LobbyId is required. Otherwise, the BuildVersion, GameMode, and Region are all required parameters. Note that parameters specified in the search are required (they are not weighting factors). If a slot is found in a server instance matching the parameters, the slot will be assigned to that player, removing it from the availabe set. In that case, the information on the game session will be returned, otherwise the Status returned will be GameNotFound.

online docs

Link to this function start_game(params)
start_game(map()) :: {:ok, map()} | {:error, String.t()}

Start a new game server with a given configuration, add the current player and return the connection information.

online docs