game-common / pragma.party / PartyApi / getForPlayer /
getForPlayer #
suspend fun getForPlayer(playerId: <ERROR CLASS>): PragmaResult<PartyCommon.PartySummary?, PragmaFailure>
Request to get the party that a player is in.
Return #
Information about the party the player is in, or null if they aren’t in one.
Parameters #
playerId | The id of the player to get the party for. |