game-common / pragma.gameinstance / GameInstanceApi / update /

update #

suspend fun update(gameInstanceId: <ERROR CLASS>, requestExt: ExtBackendUpdateRequest): PragmaResult<Unit, PragmaFailure>

Request to update a GameInstance. Triggers the GameInstancePlugin.handleBackendUpdateRequest plugin method.

Parameters #

gameInstanceId

The id of the game instance to be updated.

requestExt

The data to be sent along with the request.

Throws #

pragma.PragmaError.GameInstanceService_UnknownGameInstanceId

if a game instance is not found for the provided game instance id.