fix(core): Converts some player packets (#372)

- [X] Converts some player packets

Note:
- Not caching weather packet because it is copying directly from stackalloc using aggressive inlining. Don't need to do more optimizations.
This commit is contained in:
Kamron Batman 2020-12-29 23:47:56 -08:00 • committed by GitHub
parent 67c23bf9ad
commit a59fda6a3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 350 additions and 276 deletions

View file

@ -635,4 +635,12 @@ namespace Server.Tests.Network
Stream.Write(0); // terminate
}
}
public sealed class RemoveEntity : Packet
{
public RemoveEntity(Serial entity) : base(0x1D, 5)
{
Stream.Write(entity);
}
}
}