SubscribedItem

data class SubscribedItem(val name: String, val id: Int, val type: MarketplaceItemType, var installedRevisionId: Int?)

Constructors

Link copied to clipboard
constructor(name: String, id: Int, type: MarketplaceItemType, installedRevisionId: Int?)
constructor(item: MarketplaceItem)

Properties

Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun checkUpdate(): Int?
Link copied to clipboard

Get the installation folder of the item.

Link copied to clipboard
suspend fun getNewestRevisionId(): Int?

Check if the item has an update available.

Link copied to clipboard
suspend fun install(revisionId: Int, subTask: ResourceTask? = null)