Class MicroHIDOpeningDoorEventArgs
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
itemMicroHIDItemdoorDoorVariantisAllowedboolWhether the Micro HID can open the door or not.
Properties
Door
Gets the Door instance.
public Door Door { get; }
Property Value
IsAllowed
Gets or sets a value indicating whether the player can explode the micro HID.
public bool IsAllowed { get; set; }
Property Value
Item
Gets the item.
public Item Item { get; }
Property Value
MicroHID
Gets MicroHid item.
public MicroHid MicroHID { get; }
Property Value
Player
Gets the player in owner of the item.
public Player Player { get; }