Class Item_Instance
- Namespace
- AO
- Assembly
- CoreAssembly.dll
Instance of an item.
public class Item_Instance
- Inheritance
-
Item_Instance
- Inherited Members
- Extension Methods
Properties
Definition
public Item_Definition Definition { get; set; }
Property Value
Durability
public float Durability { get; set; }
Property Value
Id
public string Id { get; set; }
Property Value
Inventory
public Inventory Inventory { get; set; }
Property Value
InventorySlot
public long InventorySlot { get; set; }
Property Value
Quantity
public long Quantity { get; set; }
Property Value
Methods
GetMetadata(string)
Get metadata from the item.
public string GetMetadata(string key)
Parameters
key
string
Returns
GetMetadata_Internal(ulong, string)
public static extern string GetMetadata_Internal(ulong item_handle, string key)
Parameters
Returns
SetMetadata(string, string)
Set metadata on the item.
public void SetMetadata(string key, string value)
Parameters
SetMetadata_Internal(ulong, string, string)
public static extern void SetMetadata_Internal(ulong item_handle, string key, string value)