Table of Contents

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

Item_Definition

Durability

public float Durability { get; set; }

Property Value

float

Id

public string Id { get; set; }

Property Value

string

Inventory

public Inventory Inventory { get; set; }

Property Value

Inventory

InventorySlot

public long InventorySlot { get; set; }

Property Value

long

Quantity

public long Quantity { get; set; }

Property Value

long

Methods

GetMetadata(string)

Get metadata from the item.

public string GetMetadata(string key)

Parameters

key string

Returns

string

GetMetadata_Internal(ulong, string)

public static extern string GetMetadata_Internal(ulong item_handle, string key)

Parameters

item_handle ulong
key string

Returns

string

SetMetadata(string, string)

Set metadata on the item.

public void SetMetadata(string key, string value)

Parameters

key string
value string

SetMetadata_Internal(ulong, string, string)

public static extern void SetMetadata_Internal(ulong item_handle, string key, string value)

Parameters

item_handle ulong
key string
value string