diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-03-02 21:26:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-03-02 21:26:25 +0300 |
commit | c2f54527e2a7047b5ef89f1b765efb51744d235e (patch) | |
tree | 17830545100667900cb5aa51ae710962fee209da /src/net/ea | |
parent | b3fea2cbd90c0d8a9560efe5227f035c701b5dff (diff) | |
download | plus-c2f54527e2a7047b5ef89f1b765efb51744d235e.tar.gz plus-c2f54527e2a7047b5ef89f1b765efb51744d235e.tar.bz2 plus-c2f54527e2a7047b5ef89f1b765efb51744d235e.tar.xz plus-c2f54527e2a7047b5ef89f1b765efb51744d235e.zip |
Impliment packet SMSG_PLAYER_COMBINED_EQUIPMENT 0x0b0a
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/inventoryitem.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/net/ea/inventoryitem.h b/src/net/ea/inventoryitem.h index 39e3224d9..3dcb4d7c3 100644 --- a/src/net/ea/inventoryitem.h +++ b/src/net/ea/inventoryitem.h @@ -60,6 +60,7 @@ class InventoryItem final Damaged damaged; Favorite favorite; Equipm equip; + int equipIndex; InventoryItem(const int slot0, const int id0, @@ -72,7 +73,8 @@ class InventoryItem final const Identified identified0, const Damaged damaged0, const Favorite favorite0, - Equipm equip0) : + Equipm equip0, + int equipIndex0) : slot(slot0), id(id0), type(type0), @@ -84,7 +86,8 @@ class InventoryItem final identified(identified0), damaged(damaged0), favorite(favorite0), - equip(equip0) + equip(equip0), + equipIndex(equipIndex0) { if (cards0 == nullptr) return; @@ -104,7 +107,8 @@ class InventoryItem final identified(c.identified), damaged(c.damaged), favorite(c.favorite), - equip(c.equip) + equip(c.equip), + equipIndex(c.equipIndex) { for (int f = 0; f < 4; f ++) cards[f] = c.cards[f]; |