RarityId

@Serializable(with = RarityIdSerializer::class)
data class RarityId(val value: String)

レアリティのIDを表すデータクラス

RarityData への解決は RarityManager.get(id) を使用する。

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

レアリティの一意の識別子

Functions

Link copied to clipboard
fun toTranslatable(): Component

このレアリティの表示名を表す翻訳コンポーネントを返す。

Link copied to clipboard

このレアリティの表示名に対応する翻訳キーを返す。