Table of Contents

Class SpawningGrenadeEffectEventArgs

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

Contains all information before grenade explosion effect is spawned.

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

Constructors

SpawningGrenadeEffectEventArgs(TimeGrenadeProjectile, bool)

Initializes a new instance of the SpawningGrenadeEffectEventArgs class.

public SpawningGrenadeEffectEventArgs(TimeGrenadeProjectile effectGrenade, bool isAllowed = false)

Parameters

effectGrenade TimeGrenadeProjectile
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the event is allowed to continue.

public bool IsAllowed { get; set; }

Property Value

bool

Pickup

Gets the Pickup triggering the event.

public Pickup Pickup { get; }

Property Value

Pickup

Position

Gets or sets a position of this effect.

public Vector3 Position { get; set; }

Property Value

Vector3

Projectile

Gets the projectile that is exploding.

public TimeGrenadeProjectile Projectile { get; }

Property Value

TimeGrenadeProjectile