Table of Contents

Class ChangingIntoGrenadeEventArgs

Namespace
Exiled.Events.EventArgs.Map
Assembly
Exiled.Events.dll

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

public class ChangingIntoGrenadeEventArgs : IDeniableEvent, IPickupEvent, IExiledEvent
Inheritance
ChangingIntoGrenadeEventArgs
Implements
Inherited Members
Extension Methods

Constructors

ChangingIntoGrenadeEventArgs(TimedGrenadePickup)

Initializes a new instance of the ChangingIntoGrenadeEventArgs class.

public ChangingIntoGrenadeEventArgs(TimedGrenadePickup pickup)

Parameters

pickup TimedGrenadePickup

The Pickup being changed.

Properties

IsAllowed

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

public bool IsAllowed { get; set; }

Property Value

bool

Pickup

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

public Pickup Pickup { get; }

Property Value

Pickup

Type

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

public ItemType Type { get; set; }

Property Value

ItemType