toggle menu
VentureLibs
1.0
main
switch theme
search in API
VentureLibs
/
net.blockventuremc.modules.general.model
/
Rank
Rank
data
class
Rank
(
val
name
:
String
,
val
displayName
:
String
,
val
color
:
String
,
val
bitsPerMinute
:
Long
=
1
,
val
weight
:
Int
=
0
,
val
parent
:
Rank
?
=
null
,
val
discordRoleID
:
String
?
=
null
)
(
source
)
Members
Constructors
Rank
Link copied to clipboard
constructor
(
name
:
String
,
displayName
:
String
,
color
:
String
,
bitsPerMinute
:
Long
=
1
,
weight
:
Int
=
0
,
parent
:
Rank
?
=
null
,
discordRoleID
:
String
?
=
null
)
Properties
bits
Per
Minute
Link copied to clipboard
val
bitsPerMinute
:
Long
=
1
color
Link copied to clipboard
val
color
:
String
discord
Role
ID
Link copied to clipboard
val
discordRoleID
:
String
?
=
null
display
Name
Link copied to clipboard
val
displayName
:
String
name
Link copied to clipboard
val
name
:
String
parent
Link copied to clipboard
val
parent
:
Rank
?
=
null
weight
Link copied to clipboard
val
weight
:
Int
=
0
Functions
is
Higher
Or
Equal
Link copied to clipboard
fun
isHigherOrEqual
(
rank
:
Ranks
)
:
Boolean
update
Role
Link copied to clipboard
fun
updateRole
(
userID
:
String
)