Table of Contents

Class MicroHIDOpeningDoorEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information before the micro opens a doors.

public class MicroHIDOpeningDoorEventArgs : IDeniableEvent, IDoorEvent, IMicroHIDEvent, IItemEvent, IPlayerEvent, IExiledEvent
Inheritance
MicroHIDOpeningDoorEventArgs
Implements
Inherited Members
Extension Methods

Constructors

MicroHIDOpeningDoorEventArgs(MicroHIDItem, DoorVariant, bool)

Initializes a new instance of the MicroHIDOpeningDoorEventArgs class.

public MicroHIDOpeningDoorEventArgs(MicroHIDItem item, DoorVariant door, bool isAllowed = true)

Parameters

item MicroHIDItem

door DoorVariant
isAllowed bool

Whether the Micro HID can open the door or not.

Properties

Door

Gets the Door instance.

public Door Door { get; }

Property Value

Door

IsAllowed

Gets or sets a value indicating whether the player can explode the micro HID.

public bool IsAllowed { get; set; }

Property Value

bool

Item

Gets the item.

public Item Item { get; }

Property Value

Item

MicroHID

Gets MicroHid item.

public MicroHid MicroHID { get; }

Property Value

MicroHid

Player

Gets the player in owner of the item.

public Player Player { get; }

Property Value

Player