InventoryItem Structure

The inventory item structure that contains information about an item.

struct InventoryItem
{
    unsigned short  Id;         // Id of this item.
    unsigned short  Index;      // Index of this item in the storage type.
    unsigned int    Count;      // Number of items in the stack.
    unsigned int    Flag;       // 5 = Equipped, 25 = Bazaar
    unsigned int    Price;      // Price if being sold.
    unsigned char   Extra[28];  // Weaponskill Points, Charges, etc.
};