toggle menu
RaceAssist
1.0-SNAPSHOT
jvm
switch theme
search in API
RaceAssist
/
dev.nikomaru.raceassist.data.plugin
Package-level
declarations
Types
Types
Bet
Config
Link copied to clipboard
@
Serializable
data
class
BetConfig
(
val
available
:
Boolean
=
false
,
val
returnPercent
:
Int
=
75
,
val
betUnit
:
Int
=
100
,
val
autoReturn
:
Boolean
=
false
,
val
money
:
Double
=
0.0
)
Calculate
Polygon
Link copied to clipboard
@
Serializable
data
class
CalculatePolygon
(
val
num
:
Int
,
val
start
:
Point
,
val
end
:
Point
,
val
polygon
:
@
Serializable
(
with
=
PolygonSerializer::class
)
Polygon
)
Place
Config
Link copied to clipboard
@
Serializable
(
with
=
PlaceConfigSerializer::class
)
sealed
class
PlaceConfig
Point
Link copied to clipboard
@
Serializable
data
class
Point
(
val
x
:
Int
,
val
y
:
Int
)
Polygon
Data
Link copied to clipboard
@
Serializable
data
class
PolygonData
(
val
points
:
ArrayList
<
Pair
<
Int
,
Int
>
>
)
Race
Config
Link copied to clipboard
@
Serializable
data
class
RaceConfig
(
val
raceId
:
String
,
val
raceName
:
String
,
val
raceImageUrl
:
String
?
,
val
placeId
:
String
,
val
betConfig
:
BetConfig
,
val
owner
:
@
Serializable
(
with
=
OfflinePlayerSerializer::class
)
OfflinePlayer
,
val
staff
:
ArrayList
<
@
Serializable
(
with
=
OfflinePlayerSerializer::class
)
OfflinePlayer
>
,
val
jockeys
:
ArrayList
<
@
Serializable
(
with
=
OfflinePlayerSerializer::class
)
OfflinePlayer
>
=
arrayListOf()
,
val
lap
:
Int
=
0
,
val
replacement
:
HashMap
<
@
Serializable
(
with
=
UUIDSerializer::class
)
UUID
,
String
>
=
hashMapOf()
,
val
horse
:
HashMap
<
@
Serializable
(
with
=
UUIDSerializer::class
)
UUID
,
@
Serializable
(
with
=
UUIDSerializer::class
)
UUID
>
=
hashMapOf()
)