Table of Contents

Class TryingDeactivatingEventArgs

Namespace
Exiled.Events.EventArgs.Scp1344
Assembly
Exiled.Events.dll

Contains all information before trying deactivating.

public class TryingDeactivatingEventArgs : IScp1344Event, IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
TryingDeactivatingEventArgs
Implements
Inherited Members
Extension Methods

Constructors

TryingDeactivatingEventArgs(Item, bool)

Initializes a new instance of the TryingDeactivatingEventArgs class.

public TryingDeactivatingEventArgs(Item item, bool isAllowed = true)

Parameters

item Item

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

Item

Gets the item.

public Item Item { get; }

Property Value

Item

Player

Gets the player in owner of the item.

public Player Player { get; }

Property Value

Player

Scp1344

Gets Scp1344 item.

public Scp1344 Scp1344 { get; }

Property Value

Scp1344