Package-level declarations

Types

Link copied to clipboard
@Serializable
data class ChildPoint(val ron: ULong, val tsumoParent: ULong, val tsumoChild: ULong) : Point

子家(闲家)和牌点数

Link copied to clipboard
@Serializable
data class HanHuOptions(val aotenjou: Boolean = false, val hasKiriageMangan: Boolean = false, val hasKazoeYakuman: Boolean = true)
Link copied to clipboard
@Serializable
data class ParentPoint(val ron: ULong, val tsumo: ULong) : Point

亲家(庄家)和牌点数

Link copied to clipboard
interface Point

Functions

Link copied to clipboard
fun getChildPointByHanHu(han: Int, hu: Int, options: HanHuOptions = HanHuOptions.Default): ChildPoint

获取子家(闲家)和牌点数

Link copied to clipboard
fun getParentPointByHanHu(han: Int, hu: Int, options: HanHuOptions = HanHuOptions.Default): ParentPoint

获取亲家(庄家)和牌点数