game-common / pragma.party / PartyPlugin / updatePlayer /
abstract suspend fun updatePlayer(playerToUpdate: PartyPlayer, requestExt: ExtUpdatePlayerSelectionsRequest, party: Party, partyConfig: PartyConfig)
Called when receiving an update player selections request. Use to perform any necessary updates to the player or party state. Perform any state mutations directly on the player or party objects.
The player being updated.
Customer-defined ext data providing information about what updates to perform.
The player’s current party.
The current service-level PartyConfig.