From 9be90b76adb1518c4ffe0e365a18c5afcc3158f2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 23 Dec 2014 01:27:45 +0300 Subject: Add item type to item object. --- src/net/ea/inventoryitem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/ea/inventoryitem.h') diff --git a/src/net/ea/inventoryitem.h b/src/net/ea/inventoryitem.h index 1b6fd7f65..d1460e215 100644 --- a/src/net/ea/inventoryitem.h +++ b/src/net/ea/inventoryitem.h @@ -42,6 +42,7 @@ class InventoryItem final public: int slot; int id; + int type; int cards[4]; int quantity; uint8_t refine; @@ -53,6 +54,7 @@ class InventoryItem final InventoryItem(const int slot0, const int id0, + const int type0, const int *const cards0, const int quantity0, const uint8_t refine0, @@ -63,6 +65,7 @@ class InventoryItem final const bool equip0) : slot(slot0), id(id0), + type(type0), quantity(quantity0), refine(refine0), color(color0), -- cgit v1.2.3-70-g09d2