Search Results for

    Show / Hide Table of Contents

    Class MicroHid

    A wrapper class for InventorySystem.Items.MicroHID.MicroHIDItem.

    Inheritance
    System.Object
    TypeCastObject<Item>
    Item
    MicroHid
    Implements
    IWrapper<InventorySystem.Items.ItemBase>
    IWrapper<InventorySystem.Items.MicroHID.MicroHIDItem>
    Inherited Members
    Item.List
    Item.Serial
    Item.IsInInventory
    Item.Scale
    Item.Type
    Item.Category
    Item.TierFlags
    Item.Weight
    Item.IsAmmo
    Item.IsArmor
    Item.IsKeycard
    Item.IsConsumable
    Item.IsThrowable
    Item.IsUsable
    Item.IsWeapon
    Item.IsLightEmitter
    Item.IsDisarmer
    Item.Owner
    Item.Get(ItemBase)
    Item.Get(UInt16)
    Item.Create(ItemType, Player)
    Item.Give(Player)
    Item.Destroy()
    Item.CreatePickup(Vector3, Quaternion, Boolean)
    Item.ChangeItemOwner(Player, Player)
    TypeCastObject<Item>.Cast<TObject>()
    TypeCastObject<Item>.Cast<TObject>(TObject)
    TypeCastObject<Item>.As<TObject>()
    TypeCastObject<Item>.Is<TObject>(TObject)
    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.API.Features.Items
    Assembly: Exiled.API.dll
    Syntax
    public class MicroHid : Item, IWrapper<ItemBase>, IWrapper<MicroHIDItem>

    Constructors

    | Improve this Doc View Source

    MicroHid(MicroHIDItem)

    Initializes a new instance of the MicroHid class.

    Declaration
    public MicroHid(MicroHIDItem itemBase)
    Parameters
    Type Name Description
    InventorySystem.Items.MicroHID.MicroHIDItem itemBase

    The base InventorySystem.Items.MicroHID.MicroHIDItem class.

    Properties

    | Improve this Doc View Source

    Base

    Gets the InventorySystem.Items.MicroHID.MicroHIDItem base of the item.

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

    Energy

    Gets or sets the remaining energy in the MicroHID.

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

    State

    Gets or sets the InventorySystem.Items.MicroHID.HidState.

    Declaration
    public HidState State { get; set; }
    Property Value
    Type Description
    InventorySystem.Items.MicroHID.HidState

    Methods

    | Improve this Doc View Source

    Clone()

    Clones current MicroHid object.

    Declaration
    public override Item Clone()
    Returns
    Type Description
    Item

    New MicroHid object.

    Overrides
    Item.Clone()
    | Improve this Doc View Source

    Fire()

    Starts firing the MicroHID.

    Declaration
    public void Fire()
    | Improve this Doc View Source

    Recharge()

    Recharges the MicroHID.

    Declaration
    public void Recharge()
    | Improve this Doc View Source

    ToString()

    Returns the MicroHid in a human readable format.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string containing MicroHid-related data.

    Overrides
    Item.ToString()

    Implements

    IWrapper<T>
    IWrapper<T>

    Extension Methods

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