fix(core): Converts BB packets (#406)
- [X] Organizes and splits up bulletin boards - [X] Converts packets
This commit is contained in:
parent
bae568d856
commit
c58aad733d
32 changed files with 952 additions and 737 deletions
|
|
@ -10,6 +10,7 @@ using System.Runtime.CompilerServices;
|
|||
using System.Text;
|
||||
using System.Xml;
|
||||
using Microsoft.Toolkit.HighPerformance.Extensions;
|
||||
using Server.Network;
|
||||
using Server.Random;
|
||||
|
||||
namespace Server
|
||||
|
|
@ -386,7 +387,7 @@ namespace Server
|
|||
var sectionStart = 0;
|
||||
var hasCompressor = false;
|
||||
|
||||
var num = BinaryPrimitives.ReadUInt16BigEndian(ip.Slice(0, 2));
|
||||
var num = BinaryPrimitives.ReadUInt16BigEndian(ip.SliceToLength(2));
|
||||
|
||||
for (int i = 0; i < end; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue