Class AmmoPickup
A wrapper class for an Ammo pickup.
public class AmmoPickup : Pickup, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<AmmoPickup>
- Inheritance
-
AmmoPickup
- Inherited Members
- Extension Methods
Properties
Ammo
Gets or Sets the number of ammo.
public ushort Ammo { get; set; }
Property Value
AmmoType
Gets the AmmoType of the item.
public AmmoType AmmoType { get; }
Property Value
Base
Gets the InventorySystem.Items.Firearms.Ammo.AmmoPickup that this class is encapsulating.
public AmmoPickup Base { get; }
Property Value
- AmmoPickup
MaxDisplayedAmmo
Gets the max ammo.
public int MaxDisplayedAmmo { get; }
Property Value
Methods
ToString()
Returns the AmmoPickup in a human readable format.
public override string ToString()
Returns
- string
A string containing AmmoPickup related data.