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

@ -321,7 +321,7 @@ namespace Server.Network
public static void LogoutReq(NetState state, CircularBufferReader reader)
{
state.Send(new LogoutAck());
state.SendLogoutAck();
}
public static void ChangeSkillLock(NetState state, CircularBufferReader reader)
@ -488,7 +488,7 @@ namespace Server.Network
public static void SetUpdateRange(NetState state, CircularBufferReader reader)
{
state.Send(ChangeUpdateRange.Instantiate(18));
state.SendChangeUpdateRange(18);
}
public static void MobileQuery(NetState state, CircularBufferReader reader)