RarityData
@Serializable
魚のレアリティを表すクラス
Parameters
id
レアリティのID
color
レアリティの色 Hex
displayName
レアリティの表示名
weight
レアリティの重み
Constructors
Link copied to clipboard
constructor(id: RarityId = RarityId("common"), color: String = "#ffffff", cacheCommand: List<String> = emptyList(), displayName: Map<@Serializable(with = LocaleSerializer::class) Locale, @Serializable(with = ComponentSerializer::class) Component> = mapOf(
Locale.JAPAN to Component.text("レアリティ"),
), weight: Double = 1.0, worthExpression: String = "1")
Properties
Link copied to clipboard
Link copied to clipboard
val displayName: Map<@Serializable(with = LocaleSerializer::class) Locale, @Serializable(with = ComponentSerializer::class) Component>
Link copied to clipboard