ArmorItem

Undocumented in source.
class ArmorItem : ToolItem!(si, Tools.armor, 0, durability, 1, E), Armor (
sul.items.Item si
ushort durability
ubyte atype
uint aprotection
E...
) if (
atype <= 3
) {}

Constructors

this
this(E args)
Undocumented in source.

Members

Functions

doDamage
bool doDamage(Player player)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

protection
uint protection [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
type
ubyte type [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Armor

helmet
enum ubyte helmet;
Undocumented in source.
chestplate
enum ubyte chestplate;
Undocumented in source.
leggings
enum ubyte leggings;
Undocumented in source.
boots
enum ubyte boots;
Undocumented in source.
cap
alias cap = helmet
Undocumented in source.
tunic
alias tunic = chestplate
Undocumented in source.
pants
alias pants = leggings
Undocumented in source.
type
ubyte type [@property getter]
Undocumented in source.
protection
uint protection [@property getter]
Undocumented in source.
doDamage
bool doDamage(Player player)
Undocumented in source.

Meta