Core/PacketIO: Add some missing 11.0 packet bits

Port From (https://github.com/TrinityCore/TrinityCore/commit/b6b2cdcce0a51434625fff114b74b45cac04fc46)
This commit is contained in:
Hondacrx
2024-09-26 12:56:37 -04:00
parent d70529bc19
commit 24724077dc
2 changed files with 4 additions and 0 deletions
@@ -37,6 +37,7 @@ namespace Game.Networking.Packets
_worldPacket.WriteInt32(Currencies.Count);
_worldPacket.WriteBit(Acquired);
_worldPacket.WriteBit(AELooting);
_worldPacket.WriteBit(SuppressError);
_worldPacket.FlushBits();
foreach (LootItemData item in Items)
@@ -63,6 +64,7 @@ namespace Game.Networking.Packets
public List<LootCurrency> Currencies = new();
public bool Acquired;
public bool AELooting;
public bool SuppressError; // Hides error from UI
}
class LootItemPkt : ClientPacket