Core: Updated to 8.3.7.35249

Port From (https://github.com/TrinityCore/TrinityCore/commit/8f9a69c9fa812b82af97809e445fc176b28f90eb)
This commit is contained in:
hondacrx
2020-07-24 18:21:50 -04:00
parent b628eaec35
commit c203379108
5 changed files with 234 additions and 199 deletions
@@ -57,12 +57,14 @@ namespace Game.Networking.Packets
uint areasCount = _worldPacket.ReadBits<uint>(4);
Request.Read(_worldPacket);
RequestID = _worldPacket.ReadUInt32();
for (int i = 0; i < areasCount; ++i)
Areas.Add(_worldPacket.ReadInt32());
}
public WhoRequest Request = new WhoRequest();
public uint RequestID;
public List<int> Areas= new List<int>();
}
@@ -75,9 +77,11 @@ namespace Game.Networking.Packets
_worldPacket.WriteBits(Response.Count, 6);
_worldPacket.FlushBits();
_worldPacket.WriteUInt32(RequestID);
Response.ForEach(p => p.Write(_worldPacket));
}
public uint RequestID;
public List<WhoEntry> Response = new List<WhoEntry>();
}