toggle menu
RaceAssist
1.0-SNAPSHOT
jvm
switch theme
search in API
RaceAssist
/
dev.nikomaru.raceassist.utils
/
Utils
Utils
object
Utils
Members
Properties
audience
Link copied to clipboard
val
audience
:
HashMap
<
String
,
ArrayList
<
UUID
>
>
can
Set
Central
Link copied to clipboard
val
canSetCentral
:
HashMap
<
UUID
,
Boolean
>
can
Set
Inside
Circuit
Link copied to clipboard
val
canSetInsideCircuit
:
HashMap
<
UUID
,
Boolean
>
can
Set
Outside
Circuit
Link copied to clipboard
val
canSetOutsideCircuit
:
HashMap
<
UUID
,
Boolean
>
central
Place
Id
Link copied to clipboard
val
centralPlaceId
:
HashMap
<
UUID
,
String
>
circuit
Place
Id
Link copied to clipboard
val
circuitPlaceId
:
HashMap
<
UUID
,
String
>
client
Link copied to clipboard
val
client
:
HttpClient
map
Color
Link copied to clipboard
lateinit
var
mapColor
:
Properties
stop
Link copied to clipboard
var
stop
:
HashMap
<
String
,
Boolean
>
Functions
create
Image
Link copied to clipboard
suspend
fun
createImage
(
x1
:
Int
,
x2
:
Int
,
y1
:
Int
,
y2
:
Int
)
:
String
display
Lap
Link copied to clipboard
suspend
fun
displayLap
(
currentLap
:
Int
?
,
beforeLap
:
Int
?
,
player
:
Player
,
lap
:
Int
)
get
Race
Degree
Link copied to clipboard
fun
getRaceDegree
(
y
:
Double
,
x
:
Double
)
:
Double
judge
Lap
Link copied to clipboard
fun
judgeLap
(
goalDegree
:
Int
,
beforeDegree
:
Int
?
,
currentDegree
:
Int
?
,
threshold
:
Int
)
:
Int
locale
Link copied to clipboard
fun
CommandSender
.
locale
(
)
:
Locale
password
Hash
Link copied to clipboard
fun
passwordHash
(
string
:
String
)
:
String
to
Living
Horse
Link copied to clipboard
fun
UUID
.
toLivingHorse
(
)
:
Horse
?
to
Offline
Player
Link copied to clipboard
fun
UUID
.
toOfflinePlayer
(
)
:
OfflinePlayer
to
Plain
Text
Link copied to clipboard
fun
Component
.
toPlainText
(
)
:
String
to
UUID
Link copied to clipboard
fun
String
.
toUUID
(
)
:
UUID
until
Link copied to clipboard
infix
fun
ClosedRange
<
Double
>
.
until
(
step
:
Double
)
:
Iterable
<
Double
>