Class Armor
A wrapper class for InventorySystem.Items.Armor.BodyArmor.
public class Armor : Item, IWrapper<ItemBase>, IWrapper<BodyArmor>
- Inheritance
-
Armor
- Inherited Members
- Extension Methods
Constructors
Armor(BodyArmor)
Initializes a new instance of the Armor class.
public Armor(BodyArmor itemBase)
Parameters
itemBase
BodyArmorThe base InventorySystem.Items.Armor.BodyArmor class.
Properties
AmmoLimits
Gets or sets the ammo limit of the wearer when using this armor.
public IEnumerable<ArmorAmmoLimit> AmmoLimits { get; set; }
Property Value
Base
Gets the InventorySystem.Items.Armor.BodyArmor that this class is encapsulating.
public BodyArmor Base { get; }
Property Value
- BodyArmor
CategoryLimits
Gets or sets the item caterory limit of the wearer when using this armor.
public IEnumerable<BodyArmor.ArmorCategoryLimitModifier> CategoryLimits { get; set; }
Property Value
- IEnumerable<BodyArmor.ArmorCategoryLimitModifier>
CivilianDownsideMultiplier
Gets how much worse PlayerRoles.RoleTypeId.ClassD and PlayerRoles.RoleTypeId.Scientists are affected by wearing this armor.
public float CivilianDownsideMultiplier { get; }
Property Value
Equippable
Gets a value indicating whether this item is equippable.
public bool Equippable { get; }
Property Value
HelmetEfficacy
Gets or sets how strong the helmet on the armor is.
public int HelmetEfficacy { get; set; }
Property Value
Holsterable
Gets a value indicating whether this item is holsterable.
public bool Holsterable { get; }
Property Value
IsWorn
Gets a value indicating whether this is a worn item.
public bool IsWorn { get; }
Property Value
MovementSpeedMultiplier
Gets how much the users movement speed should be affected when wearing this armor. (higher values = slower movement).
public float MovementSpeedMultiplier { get; }
Property Value
RemoveExcessOnDrop
Gets or sets a value indicating whether excess ammo should be removed when the armor is dropped.
public bool RemoveExcessOnDrop { get; set; }
Property Value
StaminaRegenMultiplier
Gets or sets the stamina regen multiplier.
public float StaminaRegenMultiplier { get; set; }
Property Value
StaminaUseMultiplier
Gets or sets how much faster stamina will drain when wearing this armor.
public float StaminaUseMultiplier { get; set; }
Property Value
VestEfficacy
Gets or sets how strong the vest on the armor is.
public int VestEfficacy { get; set; }
Property Value
Weight
Gets or sets the Weight of the armor.
public float Weight { get; set; }
Property Value
Methods
Clone()
Clones current Armor object.
public override Item Clone()