Class DroppedAmmoEventArgs
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
Properties
AmmoPickups
Gets the dropped ammo pickups.
public IEnumerable<AmmoPickup> AmmoPickups { get; }
Property Value
AmmoType
Gets the type of dropped ammo.
public AmmoType AmmoType { get; }
Property Value
Amount
Gets the amount of dropped ammo.
public ushort Amount { get; }
Property Value
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; }