Files
KianaBH3/GameServer/Server/Packet/Recv/Chapter/HandlerChapterArkGetDataReq.cs
2025-06-14 11:15:32 +08:00

15 lines
476 B
C#

using KianaBH.GameServer.Server.Packet.Send.Chapter;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Recv.Chapter;
[Opcode(CmdIds.ChapterArkGetDataReq)]
public class HandlerChapterArkGetDataReq : Handler
{
public override async Task OnHandle(Connection connection, byte[] header, byte[] data)
{
var req = ChapterArkGetDataReq.Parser.ParseFrom(data);
await connection.SendPacket(new PacketChapterArkGetDataRsp(req.ChapterId));
}
}