game / / PartyService / returnFromMatchmakingV1 /

returnFromMatchmakingV1 #

suspend fun returnFromMatchmakingV1(session: ServiceSession, request: PartyRpc.ReturnFromMatchmakingV1Request): PartyRpc.ReturnFromMatchmakingV1Response

Service endpoint used to return players to their party after they leave matchmaking. Broadcasts new party details to all players upon success.


PartyPlugin.returnFromMatchmaking plugin is invoked allowing for updates to the party or players such as resetting selections back to default values or updating player selections to accommodate newly granted or updated inventory items.

GameServerVersion calculation:

GameServerCompatibilityPlugin.calculateGameServerVersion is invoked to determine the overall GameServerVersion for the recreated party. If no GameServerVersion is available from the plugin, will fail with PragmaError.PartyService_GameServerNoLongerCompatible and release all players from the party service. If Party.overrideGameServerVersion is set, the game server calculation will be skipped.