selery ~master (2019-01-01T00:21:55Z)
Dub
Repo
ArmorItem
selery
item
tool
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
) {
this
(E args);
ubyte
type
[@property getter];
uint
protection
[@property getter];
bool
doDamage
(Player player);
}
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
Source
See Implementation
selery
item
tool
aliases
AxeItem
PickaxeItem
classes
ArmorItem
ColorableArmorItem
HoeItem
MiningItem
PlaceableArmor
ShovelItem
SwordItem
Tool
ToolItem
enums
Durability
Tools
interfaces
Armor