This shows you the differences between two versions of the page.
— |
eliteapi:structures:inventoryitem [2014/12/08 02:36] (current) atom0s created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== InventoryItem Structure ===== | ||
+ | The inventory item structure that contains information about an item. | ||
+ | |||
+ | <code cpp> | ||
+ | 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. | ||
+ | }; | ||
+ | </code> |