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:
parent
353b46fbbd
commit
ffc26459ff
8 changed files with 108 additions and 149 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue