diff options
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 7971c9584..212ee98dc 100644 --- a/src/net/ea/inventoryitem.h +++ b/src/net/ea/inventoryitem.h @@ -25,6 +25,8 @@ #include "const/resources/item/cards.h" +#include "enums/resources/itemtype.h" + #include "enums/simpletypes/damaged.h" #include "enums/simpletypes/equipm.h" #include "enums/simpletypes/favorite.h" @@ -52,7 +54,7 @@ class InventoryItem final public: int slot; int id; - int type; + ItemTypeT type; int cards[maxCards]; int quantity; uint8_t refine; @@ -64,7 +66,7 @@ class InventoryItem final InventoryItem(const int slot0, const int id0, - const int type0, + const ItemTypeT type0, const int *const cards0, const int quantity0, const uint8_t refine0, |