Table of Contents

Class AmmoPickup

Namespace
Exiled.API.Features.Pickups
Assembly
Exiled.API.dll

A wrapper class for an Ammo pickup.

public class AmmoPickup : Pickup, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<AmmoPickup>
Inheritance
AmmoPickup
Implements
IWrapper<ItemPickupBase>
IWrapper<AmmoPickup>
Inherited Members
Extension Methods

Properties

Ammo

Gets or Sets the number of ammo.

public ushort Ammo { get; set; }

Property Value

ushort

AmmoType

Gets the AmmoType of the item.

public AmmoType AmmoType { get; }

Property Value

AmmoType

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

int

Methods

ToString()

Returns the AmmoPickup in a human readable format.

public override string ToString()

Returns

string

A string containing AmmoPickup related data.