Search Results for

    Show / Hide Table of Contents

    Class ChangingIntoGrenadeEventArgs

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

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

    Constructors

    | Improve this Doc View Source

    ChangingIntoGrenadeEventArgs(TimedGrenadePickup)

    Initializes a new instance of the ChangingIntoGrenadeEventArgs class.

    Declaration
    public ChangingIntoGrenadeEventArgs(TimedGrenadePickup pickup)
    Parameters
    Type Name Description
    InventorySystem.Items.ThrowableProjectiles.TimedGrenadePickup pickup

    The Pickup being changed.

    Properties

    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether the pickup will be changed.

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Pickup

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

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

    Type

    Gets or sets a value indicating what type of grenade will be spawned.

    Declaration
    public ItemType Type { get; set; }
    Property Value
    Type Description
    ItemType

    Implements

    IDeniableEvent
    IPickupEvent
    IExiledEvent

    Extension Methods

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