Table of Contents

Class DroppedItemEventArgs

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

Contains all information after a player drops an item.

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

Constructors

DroppedItemEventArgs(Player, ItemPickupBase, bool)

Initializes a new instance of the DroppedItemEventArgs class.

public DroppedItemEventArgs(Player player, ItemPickupBase pickup, bool wasThrown)

Parameters

player Player
pickup ItemPickupBase
wasThrown bool

Properties

Pickup

Gets the Pickup triggering the event.

public Pickup Pickup { get; }

Property Value

Pickup

Player

Gets the Player triggering the event.

public Player Player { get; }

Property Value

Player

WasThrown

Gets or sets a value indicating whether the pickup was thrown.

public bool WasThrown { get; set; }

Property Value

bool