fix(core): Converts message, mobile, movement, player packets (#384)

- [X] Converts message packets
- [X] Convers mobile packets
- [X] Converts movement packets
- [X] Converts player packets
This commit is contained in:
Kamron Batman 2021-01-04 23:47:20 -08:00 committed by GitHub
parent 353b46fbbd
commit ffc26459ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 108 additions and 149 deletions

View file

@ -14,6 +14,7 @@
*************************************************************************/
using System.Buffers;
using System.Runtime.CompilerServices;
namespace Server.Network
{
@ -47,6 +48,7 @@ namespace Server.Network
ns.Send(writer.Span);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void SendInvalidMap(this NetState ns) => ns?.Send(stackalloc byte[] { 0xC6 });
public static void SendMapChange(this NetState ns, Map map)