2024-11-25 23:33:41 +08:00
|
|
|
|
using System;
|
|
|
|
|
using PSO2SERVER.Models;
|
2024-11-27 18:05:53 +08:00
|
|
|
|
using PSO2SERVER.Protocol.Packets;
|
2024-11-25 23:33:41 +08:00
|
|
|
|
|
2024-11-27 18:05:53 +08:00
|
|
|
|
namespace PSO2SERVER.Protocol.Handlers
|
2024-11-25 23:33:41 +08:00
|
|
|
|
{
|
|
|
|
|
[PacketHandlerAttr(0x1F, 0x09)]
|
2024-12-03 13:18:58 +08:00
|
|
|
|
public class _1F_09_UNK : PacketHandler
|
2024-11-25 23:33:41 +08:00
|
|
|
|
{
|
2024-12-06 19:47:18 +08:00
|
|
|
|
public uint unk1 { get; set; }
|
|
|
|
|
public string source { get; set; }
|
2024-11-25 23:33:41 +08:00
|
|
|
|
public override void HandlePacket(Client context, byte flags, byte[] data, uint position, uint size)
|
|
|
|
|
{
|
|
|
|
|
var info = string.Format("[<--] 接收到的数据 (hex): {0} 字节", data.Length);
|
|
|
|
|
Logger.WriteHex(info, data);
|
2024-12-06 19:47:18 +08:00
|
|
|
|
|
|
|
|
|
var reader = new PacketReader(data, position, size);
|
|
|
|
|
//unk1 = reader.ReadUInt32();
|
|
|
|
|
//source = reader.ReadAscii(0x1875, 0x1F);
|
|
|
|
|
|
|
|
|
|
//// 打印日志
|
|
|
|
|
//Logger.Write($"unk1: {unk1}");
|
|
|
|
|
//Logger.Write($"source: {source}");
|
2024-11-25 23:33:41 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|