valueOf

@JvmName(name = "valueOf")
fun valueOf(paletteID: UShort): Weapon(source)

Returns a Weapon for a given paletteID.

Return

the weapon for the palette ID, or Weapon.UNKNOWN

Since

0.5.0

Parameters

paletteID

the palette ID to return the weapon for