handlers folder re-strucutring

This commit is contained in:
rafi1212122
2023-06-05 13:18:07 +07:00
parent f822976f74
commit cb2bc9d56e
74 changed files with 31 additions and 15 deletions

View File

@@ -0,0 +1,23 @@
using Common.Resources.Proto;
namespace PemukulPaku.GameServer.Handlers
{
[PacketCmdId(CmdId.ChapterBwWorldGetDataReq)]
internal class ChapterBwWorldGetDataReqHandler : IPacketHandler
{
public void Handle(Session session, Packet packet)
{
ChapterBwWorldGetDataReq Data = packet.GetDecodedBody<ChapterBwWorldGetDataReq>();
session.Send(Packet.FromProto(new ChapterBwWorldGetDataRsp()
{
retcode = ChapterBwWorldGetDataRsp.Retcode.Succ,
ChapterBwWorld = new()
{
ChapterId = Data.ChapterId,
EquipRuneUniqueIdLists = new uint[] { 0, 0 }
}
}, CmdId.ChapterBwWorldGetDataRsp));
}
}
}