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

updateParty #

open suspend fun updateParty(requestingPlayer: Party.PartyPlayer, requestExt: ExtUpdatePartyRequest, party: Party.Party, partyConfig: PartyConfig)

Called when receiving an update party selections request. Use to perform any necessary updates to the party state. Perform any state mutations directly on the party object.

Used by:

  • PartyService.updatePartySelectionsV1

Parameters #

requestingPlayer

The player requesting to update the party.

requestExt

Customer-defined ext data providing information about party update request.

party

The player’s current party

partyConfig

The current service-level PartyConfig.