Files
DanhengServer-OpenSource/GameServer/Server/Packet/Recv/Player/HandlerPlayerLogoutCsReq.cs
Somebody 87d228eb79 Feature:Asynchronous Operation & Formatting Code
- Now the async operation is enabled!
- Code formatted by Resharper plugin <3
2024-07-22 17:12:03 +08:00

11 lines
342 B
C#

namespace EggLink.DanhengServer.Server.Packet.Recv.Player;
[Opcode(CmdIds.PlayerLogoutCsReq)]
public class HandlerPlayerLogoutCsReq : Handler
{
public override async Task OnHandle(Connection connection, byte[] header, byte[] data)
{
await connection.SendPacket(CmdIds.PlayerLogoutScRsp);
connection.Stop();
}
}