UpdateResult

sealed interface UpdateResult

Outcome of a single MarketplaceManager.update call.

Inheritors

Types

Link copied to clipboard
data class Failed(val item: SubscribedItem, val error: Throwable) : UpdateResult

The update failed with error; the item was left untouched on its old revision.

Link copied to clipboard
data class Incompatible(val item: SubscribedItem, val unavailable: Unavailable) : UpdateResult

No revision of the item fits this game, as unavailable says.

Link copied to clipboard
data class NoUpdate(val item: SubscribedItem) : UpdateResult

The item is already on its newest revision that fits.

Link copied to clipboard
data class Updated(val item: SubscribedItem, val revision: MarketplaceItemRevision) : UpdateResult

The item was (re-)installed to revision.