From c2f54527e2a7047b5ef89f1b765efb51744d235e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Mar 2019 21:26:25 +0300 Subject: Impliment packet SMSG_PLAYER_COMBINED_EQUIPMENT 0x0b0a --- src/net/ea/inventoryitem.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/net/ea') 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]; -- cgit v1.2.3-70-g09d2