game / pragma.matchmaking / MatchmakingService / leaveMatchmakingV2 /
leaveMatchmakingV2 #
suspend fun leaveMatchmakingV2(
session: PlayerSession,
request: MatchmakingRpc.LeaveMatchmakingV2Request
): MatchmakingRpc.LeaveMatchmakingV2Response
Allows a player to leave matchmaking. Removes their whole party from matchmaking.
Invokes PartyRpc.LeaveGameLoopV1 to return their party from the game loop.