playfab_ex v0.2.0 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
get_current_games(map()) :: {:ok, map()} | {:error, String.t()}
Get details about all current running game servers matching the given parameters.
get_game_server_regions(map()) :: {:ok, map()} | {:error, String.t()}
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.