Class ChangedIntoGrenadeEventArgs
Contains all information for when the server is turned a pickup into a live grenade.
Inheritance
System.Object
ChangedIntoGrenadeEventArgs
Implements
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.Map
Assembly: Exiled.Events.dll
Syntax
public class ChangedIntoGrenadeEventArgs : IExiledEvent
Constructors
| Improve this Doc View SourceChangedIntoGrenadeEventArgs(TimedGrenadePickup, ThrownProjectile)
Initializes a new instance of the ChangedIntoGrenadeEventArgs class.
Declaration
public ChangedIntoGrenadeEventArgs(TimedGrenadePickup pickup, ThrownProjectile projectile)
Parameters
Type | Name | Description |
---|---|---|
InventorySystem.Items.ThrowableProjectiles.TimedGrenadePickup | pickup | The Pickup being changed. |
InventorySystem.Items.ThrowableProjectiles.ThrownProjectile | projectile |
Properties
| Improve this Doc View SourceFuseTime
Gets or sets a value indicating how long the fuse of the changed grenade will be.
Declaration
[Obsolete("Use Projectile.Is(Projectile, out TimeGrenadeProjectile timeGrenadeProjectile) ? timeGrenadeProjectile.FuseTime : 0 instead of this", true)]
public double FuseTime { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Pickup
Gets a value indicating the pickup that changed into a grenade.
Declaration
public GrenadePickup Pickup { get; }
Property Value
Type | Description |
---|---|
GrenadePickup |
Projectile
Gets a value indicating the projectile that spawned.
Declaration
public Projectile Projectile { get; }
Property Value
Type | Description |
---|---|
Projectile |