Search Results for

    Show / Hide Table of Contents

    Class UsingMicroHIDEnergyEventArgs

    Contains all information before MicroHID energy is changed.

    Inheritance
    System.Object
    UsingMicroHIDEnergyEventArgs
    Implements
    IPlayerEvent
    IDeniableEvent
    IItemEvent
    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 UsingMicroHIDEnergyEventArgs : IPlayerEvent, IDeniableEvent, IItemEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    UsingMicroHIDEnergyEventArgs(Player, MicroHIDItem, HidState, Single, Boolean)

    Initializes a new instance of the UsingMicroHIDEnergyEventArgs class.

    Declaration
    public UsingMicroHIDEnergyEventArgs(Player player, MicroHIDItem microHIDitem, HidState currentState, float drain, bool isAllowed = true)
    Parameters
    Type Name Description
    Player player
    InventorySystem.Items.MicroHID.MicroHIDItem microHIDitem
    InventorySystem.Items.MicroHID.HidState currentState
    System.Single drain
    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    CurrentState

    Gets the current state of the MicroHID.

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

    Drain

    Gets or sets the MicroHID energy drain.

    Declaration
    public float Drain { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    IsAllowed

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

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

    Item

    Declaration
    public Item Item { get; }
    Property Value
    Type Description
    Item
    | 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

    Player

    Gets the player who's using the MicroHID.

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

    Implements

    IPlayerEvent
    IDeniableEvent
    IItemEvent
    IExiledEvent

    Extension Methods

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