PSO2SERVER/Server/Packets/Handlers/11-ClientHandler/11-02-CharacterList.cs
2024-09-17 11:29:41 +08:00

22 lines
578 B
C#

using PSO2SERVER.Database;
using PSO2SERVER.Packets.PSOPackets;
using System.Linq;
namespace PSO2SERVER.Packets.Handlers
{
[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;
context.SendPacket(new CharacterListPacket(context.User.PlayerId));
}
#endregion
}
}