game / pragma.gameinstance / GameInstanceService / getHostConnectionDetailsV1 /

getHostConnectionDetailsV1 #

suspend fun getHostConnectionDetailsV1(session: PlayerSession, request: GameInstanceRpc.GetHostConnectionDetailsV1Request): GameInstanceRpc.GetHostConnectionDetailsV1Response

Provides the current game instance details for a player.

Endpoint that clients can use to discover the connection details for a game instance that they have been disconnected from.

PragmaResultErrors

  • PragmaError.GameInstanceService_UnknownGameInstanceId - If the game instance id from the request is not found.
  • PragmaError.GameInstanceService_PlayerNotInGameInstance - If the player is not in the game instance specified.
  • PragmaError.GameInstanceService_InternalError - If a lock on the specified game instance could not be held.