game-common / pragma.gameinstance / GameInstanceApi / getForPlayer /

getForPlayer #

suspend fun getForPlayer(playerId: <ERROR CLASS>): PragmaResult<List<GameInstanceCommon.GameInstanceSummary>, PragmaFailure>

Request to get the game instances that a player is in.

Return #

Information about the game instances the player is in, or an empty list if there are none.

Parameters #

playerId

The id of the player to get the game instances for.