Search Results for

    Show / Hide Table of Contents

    Class ChangingMicroHIDStateEventArgs

    Contains all information before MicroHID state is changed.

    Inheritance
    System.Object
    ChangingMicroHIDStateEventArgs
    Implements
    IPlayerEvent
    IDeniableEvent
    IExiledEvent
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Exiled.Events.EventArgs.Player
    Assembly: Exiled.Events.dll
    Syntax
    public class ChangingMicroHIDStateEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    ChangingMicroHIDStateEventArgs(Player, MicroHIDItem, HidState, HidState, Boolean)

    Initializes a new instance of the ChangingMicroHIDStateEventArgs class.

    Declaration
    public ChangingMicroHIDStateEventArgs(Player player, MicroHIDItem microHID, HidState oldState, HidState newState, bool isAllowed = true)
    Parameters
    Type Name Description
    Player player
    InventorySystem.Items.MicroHID.MicroHIDItem microHID
    InventorySystem.Items.MicroHID.HidState oldState
    InventorySystem.Items.MicroHID.HidState newState
    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    IsAllowed

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

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    MicroHID

    Gets the MicroHID instance.

    Declaration
    public MicroHid MicroHID { get; }
    Property Value
    Type Description
    MicroHid
    | Improve this Doc View Source

    NewState

    Gets or sets the new MicroHID state.

    Declaration
    public HidState NewState { get; set; }
    Property Value
    Type Description
    InventorySystem.Items.MicroHID.HidState
    | Improve this Doc View Source

    OldState

    Gets the old MicroHID state.

    Declaration
    public HidState OldState { get; }
    Property Value
    Type Description
    InventorySystem.Items.MicroHID.HidState
    | Improve this Doc View Source

    Player

    Gets the player who's using the MicroHID.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX