Search Results for

    Show / Hide Table of Contents

    Class ChangedIntoGrenadeEventArgs

    Contains all information for when the server is turned a pickup into a live grenade.

    Inheritance
    System.Object
    ChangedIntoGrenadeEventArgs
    Implements
    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.Map
    Assembly: Exiled.Events.dll
    Syntax
    public class ChangedIntoGrenadeEventArgs : IExiledEvent

    Constructors

    | Improve this Doc View Source

    ChangedIntoGrenadeEventArgs(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

    The TimeGrenadeProjectile.

    Properties

    | Improve this Doc View Source

    FuseTime

    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
    | Improve this Doc View Source

    Pickup

    Gets a value indicating the pickup that changed into a grenade.

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

    Projectile

    Gets a value indicating the projectile that spawned.

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

    Implements

    IExiledEvent

    Extension Methods

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