Core/Packets:

* updated remaining guild bank client opcodes to packet class
* corrected gem socket data naming for guild bank query packet
* renamed several opcodes to match master branch namings
This commit is contained in:
Ovahlord
2019-09-02 19:46:49 +02:00
parent 773d8bf647
commit c858107f5e
8 changed files with 269 additions and 159 deletions

View File

@@ -3632,9 +3632,9 @@ void Guild::_SendBankContentUpdate(uint8 tabId, SlotIds slots) const
{
if (uint32 enchantId = tabItem->GetEnchantmentId(EnchantmentSlot(enchSlot)))
{
WorldPackets::Item::ItemGemData gem;
gem.EnchantmentId = enchantId;
gem.Slot = slotIndex;
WorldPackets::Guild::GuildBankItemInfo::GuildBankSocketEnchant gem;
gem.SocketIndex = slotIndex;
gem.SocketEnchantID = enchantId;
itemInfo.SocketEnchant.push_back(gem);
}
slotIndex++;
@@ -3741,9 +3741,9 @@ void Guild::SendBankList(WorldSession* session, uint8 tabId, bool fullUpdate) co
{
if (uint32 enchantId = tabItem->GetEnchantmentId(EnchantmentSlot(enchSlot)))
{
WorldPackets::Item::ItemGemData gem;
gem.EnchantmentId = enchantId;
gem.Slot = slotIndex;
WorldPackets::Guild::GuildBankItemInfo::GuildBankSocketEnchant gem;
gem.SocketIndex = slotIndex;
gem.SocketEnchantID = enchantId;
itemInfo.SocketEnchant.push_back(gem);
}
slotIndex++;