Core/PacketIO: Add some missing 11.0 packet bits
Port From (https://github.com/TrinityCore/TrinityCore/commit/b6b2cdcce0a51434625fff114b74b45cac04fc46)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -90,6 +90,7 @@ namespace Game.Networking.Packets
|
||||
_worldPacket.WriteBit(AllowMultipleRoles);
|
||||
_worldPacket.WriteBit(QuestSessionActive);
|
||||
_worldPacket.WriteBits(InviterName.GetByteCount(), 6);
|
||||
_worldPacket.WriteBit(Unused1102);
|
||||
|
||||
InviterRealm.Write(_worldPacket);
|
||||
|
||||
@@ -110,6 +111,7 @@ namespace Game.Networking.Packets
|
||||
public bool MustBeBNetFriend;
|
||||
public bool AllowMultipleRoles;
|
||||
public bool QuestSessionActive;
|
||||
public bool Unused1102;
|
||||
public ushort Unk1;
|
||||
|
||||
public bool CanAccept;
|
||||
|
||||
Reference in New Issue
Block a user