game-common / pragma.party / PartyApi / update /

update #

suspend fun update(partyId: <ERROR CLASS>, requestExt: ExtBackendUpdatePartyRequest): PragmaResult<Unit, PragmaFailure>

Request to update a Party. Triggers the PartyPlugin.handleBackendUpdateRequest plugin method.

Parameters #

partyId

The id of the party to be updated.

requestExt

The data to be sent along with the request.

Throws #

pragma.PragmaError.PartyService_PartyNotFound

if a party is not found for the provided party id.