diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-10 13:44:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-10 22:49:59 +0300 |
commit | f3f7879c48fe8e202c3519cd465225645949167e (patch) | |
tree | 898a86c3446d988e86d7c3f160036533bdfd6475 /src/net/ea | |
parent | 37d7bd3163ad58391df36363b6f0135c638fbeb8 (diff) | |
download | manaverse-f3f7879c48fe8e202c3519cd465225645949167e.tar.gz manaverse-f3f7879c48fe8e202c3519cd465225645949167e.tar.bz2 manaverse-f3f7879c48fe8e202c3519cd465225645949167e.tar.xz manaverse-f3f7879c48fe8e202c3519cd465225645949167e.zip |
Add typed bool type Identified.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/inventoryitem.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/ea/inventoryitem.h b/src/net/ea/inventoryitem.h index 6d059d081..5c0b86658 100644 --- a/src/net/ea/inventoryitem.h +++ b/src/net/ea/inventoryitem.h @@ -23,6 +23,8 @@ #ifndef NET_EA_INVENTORYITEM_H #define NET_EA_INVENTORYITEM_H +#include "enums/simpletypes.h" + #if defined(__GXX_EXPERIMENTAL_CXX0X__) #include <cstdint> #else @@ -47,7 +49,7 @@ class InventoryItem final int quantity; uint8_t refine; unsigned char color; - bool identified; + Identified identified; bool damaged; bool favorite; bool equip; @@ -59,7 +61,7 @@ class InventoryItem final const int quantity0, const uint8_t refine0, const unsigned char color0, - const bool identified0, + const Identified identified0, const bool damaged0, const bool favorite0, const bool equip0) : |