Core/PacketIO: 9.1.0 opcodes and packet structures
Port From (https://github.com/TrinityCore/TrinityCore/commit/cd5357dc185f95c6ef78089c5ab8bd2b885dd89f)
This commit is contained in:
@@ -62,8 +62,10 @@ namespace Game.Networking.Packets
|
||||
foreach (var id in equipSet.Enchants)
|
||||
_worldPacket.WriteInt32(id);
|
||||
|
||||
_worldPacket.WriteInt32(equipSet.Unknown901_1);
|
||||
_worldPacket.WriteInt32(equipSet.Unknown901_2);
|
||||
_worldPacket.WriteInt32(equipSet.SecondaryShoulderApparanceID);
|
||||
_worldPacket.WriteInt32(equipSet.SecondaryShoulderSlot);
|
||||
_worldPacket.WriteInt32(equipSet.SecondaryWeaponAppearanceID);
|
||||
_worldPacket.WriteInt32(equipSet.SecondaryWeaponSlot);
|
||||
|
||||
_worldPacket.WriteBit(equipSet.AssignedSpecIndex != -1);
|
||||
_worldPacket.WriteBits(equipSet.SetName.GetByteCount(), 8);
|
||||
@@ -103,8 +105,10 @@ namespace Game.Networking.Packets
|
||||
Set.Enchants[0] = _worldPacket.ReadInt32();
|
||||
Set.Enchants[1] = _worldPacket.ReadInt32();
|
||||
|
||||
Set.Unknown901_1 = _worldPacket.ReadInt32();
|
||||
Set.Unknown901_2 = _worldPacket.ReadInt32();
|
||||
Set.SecondaryShoulderApparanceID = _worldPacket.ReadInt32();
|
||||
Set.SecondaryShoulderSlot = _worldPacket.ReadInt32();
|
||||
Set.SecondaryWeaponAppearanceID = _worldPacket.ReadInt32();
|
||||
Set.SecondaryWeaponSlot = _worldPacket.ReadInt32();
|
||||
|
||||
bool hasSpecIndex = _worldPacket.HasBit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user