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:
parent
67c23bf9ad
commit
a59fda6a3a
12 changed files with 350 additions and 276 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue