Class BodyArmorPickup
A wrapper class for a Body Armor pickup.
public class BodyArmorPickup : Pickup, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<BodyArmorPickup>
- Inheritance
-
BodyArmorPickup
- Inherited Members
- Extension Methods
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.BodyArmorPickup that this class is encapsulating.
public BodyArmorPickup Base { get; }
Property Value
- BodyArmorPickup
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>
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.
[Obsolete("Propetry is internal, and controls armor remove logic for clearing inventory")]
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
Methods
InitializeProperties(ItemBase)
initialize item properties.
protected override void InitializeProperties(ItemBase itemBase)
Parameters
itemBase
ItemBasetarget item.
ToString()
Returns the BodyArmorPickup in a human readable format.
public override string ToString()
Returns
- string
A string containing BodyArmorPickup related data.