Class CustomArmor
The Custom Armor base class.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.CustomItems.API.Features
Assembly: Exiled.CustomItems.dll
Syntax
public abstract class CustomArmor : CustomItem
Properties
| Improve this Doc View SourceHelmetEfficacy
Gets or sets how strong the helmet on the armor is.
Declaration
public virtual int HelmetEfficacy { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StaminaUseMultiplier
Gets or sets how much faster stamina will drain when wearing this armor.
Declaration
public virtual float StaminaUseMultiplier { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Type
Gets or sets the ItemType to use for this armor.
Declaration
public override ItemType Type { get; set; }
Property Value
Type | Description |
---|---|
ItemType |
Overrides
| Improve this Doc View SourceVestEfficacy
Gets or sets how strong the vest on the armor is.
Declaration
public virtual int VestEfficacy { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceGive(Player, Boolean)
Declaration
public override void Give(Player player, bool displayMessage = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
System.Boolean | displayMessage |
Overrides
| Improve this Doc View SourceSubscribeEvents()
Declaration
protected override void SubscribeEvents()
Overrides
| Improve this Doc View SourceUnsubscribeEvents()
Declaration
protected override void UnsubscribeEvents()