2024-09-22 00:08:44 +08:00
|
|
|
|
using System;
|
|
|
|
|
using PSO2SERVER.Models;
|
2024-11-27 18:05:53 +08:00
|
|
|
|
using PSO2SERVER.Protocol.Packets;
|
2024-09-22 00:08:44 +08:00
|
|
|
|
|
2024-11-27 18:05:53 +08:00
|
|
|
|
namespace PSO2SERVER.Protocol.Handlers
|
2024-09-22 00:08:44 +08:00
|
|
|
|
{
|
|
|
|
|
[PacketHandlerAttr(0x4D, 0x00)]
|
2024-12-03 13:18:58 +08:00
|
|
|
|
public class MissionPassInfoRequest : PacketHandler
|
2024-09-22 00:08:44 +08:00
|
|
|
|
{
|
|
|
|
|
public override void HandlePacket(Client context, byte flags, byte[] data, uint position, uint size)
|
|
|
|
|
{
|
|
|
|
|
if(context.Character == null)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
var info = string.Format("[<--] 接收到的数据 (hex): {0} 字节", data.Length);
|
|
|
|
|
Logger.WriteHex(info, data);
|
|
|
|
|
|
2024-12-11 14:57:15 +08:00
|
|
|
|
context.SendPacket(new MissionPassInfoPacket());
|
2024-09-22 00:08:44 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|