summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-21 01:13:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-21 01:13:46 +0300
commit76e55447563fae6f8d17f2fd90231c81e0b3f927 (patch)
treefa0b2b5daaa50149329f12b7f47b28901d95cc79 /src/net/ea/inventoryitem.h
parent8d12abe6ff4114a04b8fc9549e8f44683fed9e3d (diff)
downloadmv-76e55447563fae6f8d17f2fd90231c81e0b3f927.tar.gz
mv-76e55447563fae6f8d17f2fd90231c81e0b3f927.tar.bz2
mv-76e55447563fae6f8d17f2fd90231c81e0b3f927.tar.xz
mv-76e55447563fae6f8d17f2fd90231c81e0b3f927.zip
Add to item field identified.
Diffstat (limited to 'src/net/ea/inventoryitem.h')
-rw-r--r--src/net/ea/inventoryitem.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/net/ea/inventoryitem.h b/src/net/ea/inventoryitem.h
index 0f1e372ee..20ea399d4 100644
--- a/src/net/ea/inventoryitem.h
+++ b/src/net/ea/inventoryitem.h
@@ -45,16 +45,22 @@ class InventoryItem final
int quantity;
uint8_t refine;
unsigned char color;
+ bool identified;
bool equip;
- InventoryItem(const int slot0, const int id0, const int quantity0,
- const uint8_t refine0, const unsigned char color0,
+ InventoryItem(const int slot0,
+ const int id0,
+ const int quantity0,
+ const uint8_t refine0,
+ const unsigned char color0,
+ const bool identified0,
const bool equip0) :
slot(slot0),
id(id0),
quantity(quantity0),
refine(refine0),
color(color0),
+ identified(identified0),
equip(equip0)
{
}