BuildTemplate

constructor(profession: Profession, specializations: List<ChatLink.BuildTemplate.Specialization>, skills: List<UShort>, aquaticSkills: List<UShort>, professionContext: ChatLink.BuildTemplate.ProfessionContext?, weapons: List<UShort> = emptyList(), weaponSkillOverrides: List<UInt> = emptyList())(source)

Since

0.5.0

Parameters

profession

the template's profession

specializations

the template's specializations. (Must contain three elements.)

skills

the IDs of the template's (terrestrial) skills. (Must contain five elements.)

aquaticSkills

the IDs of the template's aquatic skills. (Must contain five elements.)

professionContext

the profession-specific context, or null if no profession specific information exists for the template's profession

weaponSkillOverrides

the skill IDs of the template's weapon skill overrides

Throws

if any parameter value does not match its expected shape


constructor(professionId: UByte, specializations: List<ChatLink.BuildTemplate.Specialization>, skills: List<UShort>, aquaticSkills: List<UShort>, professionContext: ChatLink.BuildTemplate.ProfessionContext?, weapons: List<UShort> = emptyList(), weaponSkillOverrides: List<UInt> = emptyList())(source)

Parameters

professionId

the ID of the template's profession

specializations

the template's specializations. (Must contain three elements.)

skills

the IDs of the template's (terrestrial) skills. (Must contain five elements.)

aquaticSkills

the IDs of the template's aquatic skills. (Must contain five elements.)

professionContext

the profession-specific context, or null if no profession specific information exists for the template's profession

weapons

the weapons of the template.

weaponSkillOverrides

the skill IDs of the template's weapon skill overrides