2024-09-10 01:13:20 +08:00
|
|
|
|
using PSO2SERVER.Database;
|
2024-09-17 11:29:41 +08:00
|
|
|
|
using PSO2SERVER.Packets.PSOPackets;
|
2024-09-10 00:31:40 +08:00
|
|
|
|
using System.Linq;
|
|
|
|
|
|
2024-09-10 01:13:20 +08:00
|
|
|
|
namespace PSO2SERVER.Packets.Handlers
|
2024-09-10 00:31:40 +08:00
|
|
|
|
{
|
|
|
|
|
[PacketHandlerAttr(0x11, 0x02)]
|
|
|
|
|
public class CharacterList : PacketHandler
|
|
|
|
|
{
|
|
|
|
|
#region implemented abstract members of PacketHandler
|
|
|
|
|
|
|
|
|
|
public override void HandlePacket(Client context, byte flags, byte[] data, uint position, uint size)
|
|
|
|
|
{
|
|
|
|
|
if (context.User == null)
|
|
|
|
|
return;
|
|
|
|
|
|
2024-09-17 11:29:41 +08:00
|
|
|
|
context.SendPacket(new CharacterListPacket(context.User.PlayerId));
|
2024-09-10 00:31:40 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|