Class ThrownProjectileEventArgs
Contains all information after a player throws a grenade.
public class ThrownProjectileEventArgs : IItemEvent, IPlayerEvent, IPickupEvent, IExiledEvent
- Inheritance
-
ThrownProjectileEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ThrownProjectileEventArgs(ThrownProjectile, Player, ThrowableItem)
Initializes a new instance of the ThrownProjectileEventArgs class.
public ThrownProjectileEventArgs(ThrownProjectile projectile, Player player, ThrowableItem item)
Parameters
projectile
ThrownProjectileplayer
Playeritem
ThrowableItem
Properties
Item
Gets the Item triggering the event.
public Item Item { get; }
Property Value
Pickup
Gets the Pickup triggering the event.
public Pickup Pickup { get; }
Property Value
Player
Gets the player who's thrown the grenade.
public Player Player { get; }
Property Value
Projectile
Gets the thrown grenade.
public Projectile Projectile { get; }
Property Value
Throwable
Gets the item being thrown.
public Throwable Throwable { get; }