LiquidBounce
Toggle table of contents
0.37.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
LiquidBounce
LiquidBounce
/
net.ccbluex.liquidbounce.features.marketplace
/
SubscribedItem
Subscribed
Item
data
class
SubscribedItem
(
val
name
:
String
,
val
id
:
Int
,
val
type
:
MarketplaceItemType
,
var
installedRevisionId
:
Int
?
)
Members
Constructors
Subscribed
Item
Link copied to clipboard
constructor
(
name
:
String
,
id
:
Int
,
type
:
MarketplaceItemType
,
installedRevisionId
:
Int
?
)
constructor
(
item
:
MarketplaceItem
)
Properties
id
Link copied to clipboard
val
id
:
Int
installed
Revision
Id
Link copied to clipboard
var
installedRevisionId
:
Int
?
item
Dir
Link copied to clipboard
val
itemDir
:
File
name
Link copied to clipboard
val
name
:
String
type
Link copied to clipboard
val
type
:
MarketplaceItemType
Functions
check
Update
Link copied to clipboard
suspend
fun
checkUpdate
(
)
:
Int
?
get
Installation
Folder
Link copied to clipboard
fun
getInstallationFolder
(
)
:
File
?
Get the installation folder of the item.
get
Newest
Revision
Id
Link copied to clipboard
suspend
fun
getNewestRevisionId
(
)
:
Int
?
Check if the item has an update available.
install
Link copied to clipboard
suspend
fun
install
(
revisionId
:
Int
,
subTask
:
ResourceTask
?
=
null
)