Class MicroHid
A wrapper class for InventorySystem.Items.MicroHID.MicroHIDItem.
Implements
IWrapper<InventorySystem.Items.ItemBase>
IWrapper<InventorySystem.Items.MicroHID.MicroHIDItem>
Inherited Members
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 SourceMicroHid(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 SourceBase
Gets the InventorySystem.Items.MicroHID.MicroHIDItem base of the item.
Declaration
public MicroHIDItem Base { get; }
Property Value
Type | Description |
---|---|
InventorySystem.Items.MicroHID.MicroHIDItem |
Energy
Gets or sets the remaining energy in the MicroHID.
Declaration
public float Energy { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
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 SourceClone()
Clones current MicroHid object.
Declaration
public override Item Clone()
Returns
Type | Description |
---|---|
Item | New MicroHid object. |
Overrides
| Improve this Doc View SourceFire()
Starts firing the MicroHID.
Declaration
public void Fire()
Recharge()
Recharges the MicroHID.
Declaration
public void Recharge()
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. |