Core/Guilds: Send item flags for guild bank contents

Port From (https://github.com/TrinityCore/TrinityCore/commit/427b5ba468bba05ea6e3e77abed10336959b25a6)
This commit is contained in:
hondacrx
2020-04-25 00:40:57 -04:00
parent 400088bb38
commit c869536181
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2248,7 +2248,7 @@ namespace Game.Guilds
itemInfo.Charges = Math.Abs(tabItem.GetSpellCharges());
itemInfo.EnchantmentID = (int)tabItem.GetEnchantmentId(EnchantmentSlot.Perm);
itemInfo.OnUseEnchantmentID = (int)tabItem.GetEnchantmentId(EnchantmentSlot.Use);
itemInfo.Flags = 0;
itemInfo.Flags = tabItem.m_itemData.DynamicFlags;
byte i = 0;
foreach (SocketedGem gemData in tabItem.m_itemData.Gems)
+2 -2
View File
@@ -1056,7 +1056,7 @@ namespace Game.Network.Packets
_worldPacket.WriteInt32(item.EnchantmentID);
_worldPacket.WriteInt32(item.Charges);
_worldPacket.WriteInt32(item.OnUseEnchantmentID);
_worldPacket.WriteInt32(item.Flags);
_worldPacket.WriteUInt32(item.Flags);
item.Item.Write(_worldPacket);
@@ -1520,7 +1520,7 @@ namespace Game.Network.Packets
public int EnchantmentID;
public int Charges;
public int OnUseEnchantmentID;
public int Flags;
public uint Flags;
public bool Locked;
public List<ItemGemData> SocketEnchant = new List<ItemGemData>();
}