Table of Contents

Class ChangingMicroHIDStateEventArgs

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

Contains all information before MicroHID state is changed.

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

Constructors

ChangingMicroHIDStateEventArgs(ItemBase, MicroHidPhase, bool)

Initializes a new instance of the ChangingMicroHIDStateEventArgs class.

public ChangingMicroHIDStateEventArgs(ItemBase microHID, MicroHidPhase newPhase, bool isAllowed = true)

Parameters

microHID ItemBase
newPhase MicroHidPhase
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the MicroHID state can be changed.

public bool IsAllowed { get; set; }

Property Value

bool

Item

Gets the Item triggering the event.

public Item Item { get; }

Property Value

Item

MicroHID

Gets the MicroHID instance.

public MicroHid MicroHID { get; }

Property Value

MicroHid

NewPhase

Gets or sets the new MicroHID state.

public MicroHidPhase NewPhase { get; set; }

Property Value

MicroHidPhase

Player

Gets the Player triggering the event.

public Player Player { get; }

Property Value

Player