Table of Contents

Class DroppedAmmoEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information after a player drops ammo.

public class DroppedAmmoEventArgs : IPlayerEvent, IExiledEvent
Inheritance
DroppedAmmoEventArgs
Implements
Inherited Members
Extension Methods

Constructors

DroppedAmmoEventArgs(Player, ItemType, ushort, List<AmmoPickup>)

Initializes a new instance of the DroppedAmmoEventArgs class.

public DroppedAmmoEventArgs(Player player, ItemType itemType, ushort amount, List<AmmoPickup> ammoPickups)

Parameters

player Player
itemType ItemType
amount ushort
ammoPickups List<AmmoPickup>

Properties

AmmoPickups

Gets the dropped ammo pickups.

public IEnumerable<AmmoPickup> AmmoPickups { get; }

Property Value

IEnumerable<AmmoPickup>

AmmoType

Gets the type of dropped ammo.

public AmmoType AmmoType { get; }

Property Value

AmmoType

Amount

Gets the amount of dropped ammo.

public ushort Amount { get; }

Property Value

ushort

ItemType

Gets the type of dropped item instead of AmmoType.

public ItemType ItemType { get; }

Property Value

ItemType

Player

Gets the player who dropped the ammo.

public Player Player { get; }

Property Value

Player