mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-14 17:24:34 +01:00
okey
This commit is contained in:
19
GameServer/Handlers/ClientReportReqHandler.cs
Normal file
19
GameServer/Handlers/ClientReportReqHandler.cs
Normal 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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user