fix(core): Converts BB packets (#406)

- [X] Organizes and splits up bulletin boards
- [X] Converts packets
This commit is contained in:
Kamron Batman 2021-01-13 22:28:31 -08:00 • committed by GitHub
parent bae568d856
commit c58aad733d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 952 additions and 737 deletions

View file

@ -5796,7 +5796,7 @@ namespace Server
if (length != regBuffer.Length)
{
regBuffer = regBuffer.Slice(0, length); // Adjust to the actual size
regBuffer = regBuffer.SliceToLength(length); // Adjust to the actual size
}
heard.OnSpeech(regArgs);
@ -5810,7 +5810,7 @@ namespace Server
if (length != mutBuffer.Length)
{
mutBuffer = mutBuffer.Slice(0, length); // Adjust to the actual size
mutBuffer = mutBuffer.SliceToLength(length); // Adjust to the actual size
}
heard.OnSpeech(mutatedArgs);
@ -9162,7 +9162,7 @@ namespace Server
if (length != buffer.Length)
{
buffer = buffer.Slice(0, length); // Adjust to the actual size
buffer = buffer.SliceToLength(length); // Adjust to the actual size
}
state.Send(buffer);
@ -9193,7 +9193,7 @@ namespace Server
if (length != buffer.Length)
{
buffer = buffer.Slice(0, length); // Adjust to the actual size
buffer = buffer.SliceToLength(length); // Adjust to the actual size
}
state.Send(buffer);
@ -9227,7 +9227,7 @@ namespace Server
if (length != buffer.Length)
{
buffer = buffer.Slice(0, length); // Adjust to the actual size
buffer = buffer.SliceToLength(length); // Adjust to the actual size
}
state.Send(buffer);
@ -9275,7 +9275,7 @@ namespace Server
if (length != buffer.Length)
{
buffer = buffer.Slice(0, length); // Adjust to the actual size
buffer = buffer.SliceToLength(length); // Adjust to the actual size
}
state.Send(buffer);
@ -9306,7 +9306,7 @@ namespace Server
if (length != buffer.Length)
{
buffer = buffer.Slice(0, length); // Adjust to the actual size
buffer = buffer.SliceToLength(length); // Adjust to the actual size
}
state.Send(buffer);