Trait

data class Trait(val traitId: UInt) : ChatLink(source)

A link to a trait.

Only the shape of the parameters (e.g. list sizes) is validated and not the actual data (e.g. ID validity).

Since

0.1.0

Parameters

traitId

the ID of the trait. (Must be in unsigned 24bit range.)

Throws

if any parameter value does not match its expected shape

Constructors

Link copied to clipboard
constructor(traitId: UInt)

Properties

Link copied to clipboard
@get:JvmName(name = "getTraitId")
val traitId: UInt