MoripaFishing
Toggle table of contents
VersionPlaceholder
jvm
Platform filter
jvm
Switch theme
Search in API
MoripaFishing
api
/
party.morino.moripafishing.api.model.rarity
Package-level
declarations
Types
Types
Rarity
Data
Link copied to clipboard
@
Serializable
data
class
RarityData
(
val
id
:
RarityId
=
RarityId("common")
,
val
color
:
String
=
"#ffffff"
,
val
cacheCommand
:
List
<
String
>
=
emptyList()
,
val
displayName
:
Map
<
@
Serializable
(
with
=
LocaleSerializer::class
)
Locale
,
@
Serializable
(
with
=
ComponentSerializer::class
)
Component
>
=
mapOf( Locale.JAPAN to Component.text("レアリティ"), )
,
val
weight
:
Double
=
1.0
,
val
worthExpression
:
String
=
"1"
)
魚のレアリティを表すクラス
Rarity
Id
Link copied to clipboard
@
Serializable
(
with
=
RarityIdSerializer::class
)
class
RarityId
(
val
value
:
String
)
:
KoinComponent