Table of Contents

Class CustomArmor

Namespace
Exiled.CustomItems.API.Features
Assembly
Exiled.CustomItems.dll

The Custom Armor base class.

public abstract class CustomArmor : CustomItem
Inheritance
CustomArmor
Inherited Members
Extension Methods

Properties

HelmetEfficacy

Gets or sets how strong the helmet on the armor is.

public virtual int HelmetEfficacy { get; set; }

Property Value

int

StaminaUseMultiplier

Gets or sets how much faster stamina will drain when wearing this armor.

public virtual float StaminaUseMultiplier { get; set; }

Property Value

float

Type

Gets or sets the ItemType to use for this armor.

public override ItemType Type { get; set; }

Property Value

ItemType

VestEfficacy

Gets or sets how strong the vest on the armor is.

public virtual int VestEfficacy { get; set; }

Property Value

int

Methods

Give(Player, bool)

Gives the CustomItem to a player.

public override void Give(Player player, bool displayMessage = true)

Parameters

player Player

The Player who will receive the item.

displayMessage bool

Indicates whether ShowPickedUpMessage(Player) will be called when the player receives the item.

SubscribeEvents()

Called after the manager is initialized, to allow loading of special event handlers.

protected override void SubscribeEvents()

UnsubscribeEvents()

Called when the manager is being destroyed, to allow unloading of special event handlers.

protected override void UnsubscribeEvents()