Search Results for

    Show / Hide Table of Contents

    Class DroppedItemEventArgs

    Contains all information after a player drops an item.

    Inheritance
    System.Object
    DroppedItemEventArgs
    Implements
    IPlayerEvent
    IPickupEvent
    IExiledEvent
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Exiled.Events.EventArgs.Player
    Assembly: Exiled.Events.dll
    Syntax
    public class DroppedItemEventArgs : IPlayerEvent, IPickupEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    DroppedItemEventArgs(Player, Pickup, Boolean)

    Initializes a new instance of the DroppedItemEventArgs class.

    Declaration
    public DroppedItemEventArgs(Player player, Pickup pickup, bool wasThrown)
    Parameters
    Type Name Description
    Player player
    Pickup pickup
    System.Boolean wasThrown

    Properties

    | Improve this Doc View Source

    Pickup

    Declaration
    public Pickup Pickup { get; }
    Property Value
    Type Description
    Pickup
    | Improve this Doc View Source

    Player

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player
    | Improve this Doc View Source

    WasThrown

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

    Declaration
    public bool WasThrown { get; set; }
    Property Value
    Type Description
    System.Boolean

    Implements

    IPlayerEvent
    IPickupEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX