移除11B0debug

This commit is contained in:
Longfeng Qin 2024-11-25 12:35:52 +08:00
parent 650d64b922
commit c830d8de6d

View File

@ -1,6 +1,7 @@
using System;
using PSO2SERVER.Models;
using PSO2SERVER.Packets.PSOPackets;
using static PSO2SERVER.Packets.Handlers.CharacterNewNameRequest;
namespace PSO2SERVER.Packets.Handlers
{
@ -15,8 +16,16 @@ namespace PSO2SERVER.Packets.Handlers
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);
//var info = string.Format("[<--] 接收到的数据 (hex): {0} 字节", data.Length);
//Logger.WriteHex(info, data);
// 创建一个结构体实例
var packet = new Unk11B0Packet();
// 读取数据并填充到结构体中
var reader = new PacketReader(data, position, size);
packet.unk1 = reader.ReadUInt32();
packet.unk1 = reader.ReadUInt32();
}
}
}