Specialization

data class Specialization(val specializationId: UByte, val majorTraits: List<UByte?>)(source)

A build template's specialization.

Since

0.1.0

Parameters

specializationId

the ID of the specialization

majorTraits

the indices of the selected major traits, or null if no trait is selected for a slot

Throws

if any parameter value does not match its expected shape

Constructors

Link copied to clipboard
constructor(specializationId: UByte, majorTraits: List<UByte?>)

Properties

Link copied to clipboard
Link copied to clipboard
@get:JvmName(name = "getSpecializationId")
val specializationId: UByte