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

15 lines
492 B
C#

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