This commit is contained in:
rafi1212122
2023-05-30 09:37:52 +07:00
parent ca558f76bd
commit 88c69529fd
17 changed files with 243 additions and 9 deletions

View File

@@ -0,0 +1,19 @@
using Common;
using Common.Resources.Proto;
namespace PemukulPaku.GameServer.Handlers
{
[PacketCmdId(CmdId.ClientReportReq)]
internal class ClientReportReqHandler : IPacketHandler
{
public void Handle(Session session, Packet packet)
{
ClientReportReq Data = packet.GetDecodedBody<ClientReportReq>();
if((int)Global.config.VerboseLevel > 0)
session.c.Warn($"ClientReport | {Data.ReportType} = {Data.ReportValue}");
session.Send(Packet.FromProto(new ClientReportRsp() { retcode = ClientReportRsp.Retcode.Succ }, CmdId.ClientReportRsp));
}
}
}