game-common / pragma.party / PartyPlugin / returnFromMatch /

returnFromMatch #

abstract suspend fun returnFromMatch(party: Party, returningPlayers: List<PartyPlayer>, config: PartyConfig)

Called when players are returning from a match. Use to perform any necessary updates to the player or party state. The returning players may be a subset of all the players in the party.

Used by:

  • PartyService.returnFromMatchV1

Parameters #

party

The party the players are in.

returningPlayers

The players that have left a match.

config

The party service configuration.