Core/PacketIO: Updated most packet structures to 9.0.1
Port From (https://github.com/TrinityCore/TrinityCore/commit/cab4c87d2d7f6d734ef067d6bf50f4b1d338a7bc)
This commit is contained in:
@@ -62,6 +62,9 @@ namespace Game.Networking.Packets
|
||||
foreach (var id in equipSet.Enchants)
|
||||
_worldPacket.WriteInt32(id);
|
||||
|
||||
_worldPacket.WriteInt32(equipSet.Unknown901_1);
|
||||
_worldPacket.WriteInt32(equipSet.Unknown901_2);
|
||||
|
||||
_worldPacket.WriteBit(equipSet.AssignedSpecIndex != -1);
|
||||
_worldPacket.WriteBits(equipSet.SetName.GetByteCount(), 8);
|
||||
_worldPacket.WriteBits(equipSet.SetIcon.GetByteCount(), 9);
|
||||
@@ -100,6 +103,9 @@ namespace Game.Networking.Packets
|
||||
Set.Enchants[0] = _worldPacket.ReadInt32();
|
||||
Set.Enchants[1] = _worldPacket.ReadInt32();
|
||||
|
||||
Set.Unknown901_1 = _worldPacket.ReadInt32();
|
||||
Set.Unknown901_2 = _worldPacket.ReadInt32();
|
||||
|
||||
bool hasSpecIndex = _worldPacket.HasBit();
|
||||
|
||||
uint setNameLength = _worldPacket.ReadBits<uint>(8);
|
||||
|
||||
Reference in New Issue
Block a user