HoraArgs

@Serializable
data class HoraArgs

和牌分析参数

Parameters

tiles

门前的牌

furo

副露

shantenResult

向听分析结果

agari

和牌张

tsumo

是否自摸

dora

宝牌数目

selfWind

自风

roundWind

场风

extraYaku

额外役种(不会对役种合法性进行检查)

Constructors

Link copied to clipboard
constructor(tiles: List<Tile>, furo: List<Furo> = DEFAULT_FURO, agari: Tile, tsumo: Boolean, dora: Int = DEFAULT_DORA, selfWind: Wind? = DEFAULT_SELF_WIND, roundWind: Wind? = DEFAULT_ROUND_WIND, extraYaku: Set<@Serializable(with = DefaultYakuSerializer::class) Yaku> = DEFAULT_EXTRA_YAKU, options: HoraOptions = DEFAULT_OPTIONS)
constructor(shantenResult: CommonShantenResult<*>, agari: Tile, tsumo: Boolean, dora: Int = DEFAULT_DORA, selfWind: Wind? = DEFAULT_SELF_WIND, roundWind: Wind? = DEFAULT_ROUND_WIND, extraYaku: Set<@Serializable(with = DefaultYakuSerializer::class) Yaku> = DEFAULT_EXTRA_YAKU, options: HoraOptions = DEFAULT_OPTIONS)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val agari: Tile
Link copied to clipboard
val dora: Int
Link copied to clipboard
val extraYaku: Set<@Serializable(with = DefaultYakuSerializer::class) Yaku>
Link copied to clipboard
val furo: List<Furo>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tiles: List<Tile>? = null
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard