game / pragma.gameinstance / GameInstanceService / connectMorePlayersV1 /

connectMorePlayersV1 #

suspend fun connectMorePlayersV1(session: PartnerSession, request: GameInstanceRpc.ConnectMorePlayersV1Request): GameInstanceRpc.ConnectMorePlayersV1Response

Called by a game server with connection details and ext data for previously found players, and connects them to the game instance. Each player receives a GameInstanceRpc.HostConnectionDetailsV1Notification containing all host connection details.


  • PragmaError.GameInstanceService_UnknownGameInstanceId - If the game instance id is not found in the list of tracked game instances.
  • PragmaError.GameInstanceService_MissingPlayerConnectionDetails - If a PlayerConnectionDetails for an expected player is not found in this batch of players.