diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-23 01:27:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-23 01:27:45 +0300 |
commit | 9be90b76adb1518c4ffe0e365a18c5afcc3158f2 (patch) | |
tree | bbfea959321e05c329f18ac37757be91f38b9df8 /src/net/ea/inventoryitem.h | |
parent | 7f1053c5ce9e80485730290d002f7ae25db83996 (diff) | |
download | manaverse-9be90b76adb1518c4ffe0e365a18c5afcc3158f2.tar.gz manaverse-9be90b76adb1518c4ffe0e365a18c5afcc3158f2.tar.bz2 manaverse-9be90b76adb1518c4ffe0e365a18c5afcc3158f2.tar.xz manaverse-9be90b76adb1518c4ffe0e365a18c5afcc3158f2.zip |
Add item type to item object.
Diffstat (limited to 'src/net/ea/inventoryitem.h')
-rw-r--r-- | src/net/ea/inventoryitem.h | 3 |
1 files changed, 3 insertions, 0 deletions
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), |