Table of Contents

Class DisruptorFiringEventArgs

Namespace
Exiled.Events.EventArgs.Item
Assembly
Exiled.Events.dll

Contains all information before a pickup ItemType.ParticleDisruptor shoot while on the ground.

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

Constructors

DisruptorFiringEventArgs(Pickup, Player, FiringState, bool)

Initializes a new instance of the DisruptorFiringEventArgs class.

public DisruptorFiringEventArgs(Pickup disruptor, Player attacker, DisruptorActionModule.FiringState state, bool isAllowed = true)

Parameters

disruptor Pickup
attacker Player
state DisruptorActionModule.FiringState
isAllowed bool

Properties

Attacker

Gets or Sets whether is the attacker.

public Player Attacker { get; set; }

Property Value

Player

IsAllowed

Gets or Sets a value indicating whether the disruptor shoot and the ground. The client will still see all effects, like sounds and shoot.

public bool IsAllowed { get; set; }

Property Value

bool

Pickup

Gets the pickup who shot the bullet.

public Pickup Pickup { get; }

Property Value

Pickup

State

Gets the state of the weapon.

public DisruptorActionModule.FiringState State { get; }

Property Value

DisruptorActionModule.FiringState