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 #
GameInstanceNotFound | if a game instance is not found for the provided game instance id. |