Search Results for

    Show / Hide Table of Contents

    Class ThrownProjectileEventArgs

    Contains all information after a player throws a grenade.

    Inheritance
    System.Object
    ThrownProjectileEventArgs
    Implements
    IPlayerEvent
    IItemEvent
    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 ThrownProjectileEventArgs : IPlayerEvent, IItemEvent, IPickupEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    ThrownProjectileEventArgs(ThrownProjectile, Player, ThrowableItem)

    Initializes a new instance of the ThrownProjectileEventArgs class.

    Declaration
    public ThrownProjectileEventArgs(ThrownProjectile projectile, Player player, ThrowableItem item)
    Parameters
    Type Name Description
    InventorySystem.Items.ThrowableProjectiles.ThrownProjectile projectile
    Player player
    InventorySystem.Items.ThrowableProjectiles.ThrowableItem item

    Properties

    | Improve this Doc View Source

    Item

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

    Pickup

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

    Player

    Gets the player who's thrown the grenade.

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

    Projectile

    Gets the thrown grenade.

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

    Throwable

    Gets the item being thrown.

    Declaration
    public Throwable Throwable { get; }
    Property Value
    Type Description
    Throwable

    Implements

    IPlayerEvent
    IItemEvent
    IPickupEvent
    IExiledEvent

    Extension Methods

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