Class DeactivatingEventArgs
Contains all information before deactivating.
public class DeactivatingEventArgs : IScp1344Event, IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
DeactivatingEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
DeactivatingEventArgs(Item, bool)
Initializes a new instance of the DeactivatingEventArgs class.
public DeactivatingEventArgs(Item item, bool isAllowed = true)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
Item
Gets the item.
public Item Item { get; }
Property Value
Player
Gets the player in owner of the item.
public Player Player { get; }
Property Value
Scp1344
Gets Scp1344 item.
public Scp1344 Scp1344 { get; }