mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
19 lines
503 B
C#
19 lines
503 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EggLink.DanhengServer.Server.Packet.Recv.Battle
|
|
{
|
|
[Opcode(CmdIds.QuitBattleCsReq)]
|
|
public class HandlerQuitBattleCsReq : Handler
|
|
{
|
|
public override void OnHandle(Connection connection, byte[] header, byte[] data)
|
|
{
|
|
connection.Player!.BattleInstance = null;
|
|
connection.SendPacket(CmdIds.QuitBattleScRsp);
|
|
}
|
|
}
|
|
}
|