Class ThrownProjectileEventArgs
Contains all information after a player throws a grenade.
Inheritance
System.Object
ThrownProjectileEventArgs
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 SourceThrownProjectileEventArgs(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 SourceItem
Declaration
public Item Item { get; }
Property Value
Type | Description |
---|---|
Item |
Pickup
Declaration
public Pickup Pickup { get; }
Property Value
Type | Description |
---|---|
Pickup |
Player
Gets the player who's thrown the grenade.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Projectile
Gets the thrown grenade.
Declaration
public Projectile Projectile { get; }
Property Value
Type | Description |
---|---|
Projectile |
Throwable
Gets the item being thrown.
Declaration
public Throwable Throwable { get; }
Property Value
Type | Description |
---|---|
Throwable |