game / pragma.multiplayer / MultiplayerService / leavePartyServiceV1 /

leavePartyServiceV1 #

suspend fun leavePartyServiceV1(session: ServiceSession, request: MultiplayerRpc.LeavePartyServiceV1Request): MultiplayerRpc.LeavePartyServiceV1Response

Attempts to leave any party the player currently belongs to, or does nothing if the player is not a member of any party.

Returns success regardless of whether player held party membership.

See PartyService.leaveServiceV1.