fix(core): Converts death animation (#356)
- [X] Converts death animation - [X] Fixes tests for movement packets
This commit is contained in:
parent
77ce2e1980
commit
90393fea2a
8 changed files with 65 additions and 89 deletions
|
|
@ -14,6 +14,7 @@
|
|||
*************************************************************************/
|
||||
|
||||
using System.Buffers;
|
||||
using System.IO;
|
||||
|
||||
namespace Server.Network
|
||||
{
|
||||
|
|
@ -99,6 +100,7 @@ namespace Server.Network
|
|||
|
||||
var writer = new CircularBufferWriter(buffer);
|
||||
writer.Write((byte)0xBF); // Packet ID
|
||||
writer.Seek(2, SeekOrigin.Current);
|
||||
writer.Write((ushort)0x1); // Subpacket
|
||||
writer.Write(keys[0]);
|
||||
writer.Write(keys[1]);
|
||||
|
|
@ -107,6 +109,7 @@ namespace Server.Network
|
|||
writer.Write(keys[4]);
|
||||
writer.Write(keys[5]);
|
||||
|
||||
writer.WritePacketLength();
|
||||
ns.Send(ref buffer, writer.Position);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue