Core/PacketIO: Fix SMSG_INSPECT_RESULT structure
This commit is contained in:
@@ -50,6 +50,7 @@ namespace WorldPackets::Inspect
|
|||||||
ByteBuffer& operator<<(ByteBuffer& data, InspectItemData const& itemData)
|
ByteBuffer& operator<<(ByteBuffer& data, InspectItemData const& itemData)
|
||||||
{
|
{
|
||||||
data << itemData.CreatorGUID;
|
data << itemData.CreatorGUID;
|
||||||
|
data << itemData.Item;
|
||||||
data << uint8(itemData.Index);
|
data << uint8(itemData.Index);
|
||||||
data << Size<uint32>(itemData.AzeritePowers);
|
data << Size<uint32>(itemData.AzeritePowers);
|
||||||
data << Size<uint32>(itemData.AzeriteEssences);
|
data << Size<uint32>(itemData.AzeriteEssences);
|
||||||
@@ -57,7 +58,6 @@ namespace WorldPackets::Inspect
|
|||||||
if (!itemData.AzeritePowers.empty())
|
if (!itemData.AzeritePowers.empty())
|
||||||
data.append(itemData.AzeritePowers.data(), itemData.AzeritePowers.size());
|
data.append(itemData.AzeritePowers.data(), itemData.AzeritePowers.size());
|
||||||
|
|
||||||
data << itemData.Item;
|
|
||||||
data << Bits<1>(itemData.Usable);
|
data << Bits<1>(itemData.Usable);
|
||||||
data << BitsSize<4>(itemData.Enchants);
|
data << BitsSize<4>(itemData.Enchants);
|
||||||
data << BitsSize<2>(itemData.Gems);
|
data << BitsSize<2>(itemData.Gems);
|
||||||
|
|||||||
Reference in New Issue
Block a user