game / pragma.gameinstance / GameInstanceService / joinGameInstanceV1 /

joinGameInstanceV1 #

suspend fun joinGameInstanceV1(session: PlayerSession, request: GameInstanceRpc.JoinGameInstanceV1Request): GameInstanceRpc.JoinGameInstanceV1Response

Join a game. Invokes the GameInstancePlugin.handlePlayerJoinRequest function to customize game relevant data for the player.

To deny the player from joining the game instance, throw an application error in the plugin.