2024-11-27 18:05:53 +08:00
|
|
|
|
using PSO2SERVER.Protocol.Packets;
|
2024-09-18 01:50:29 +08:00
|
|
|
|
using System;
|
2024-09-16 02:56:02 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2024-11-27 18:05:53 +08:00
|
|
|
|
namespace PSO2SERVER.Protocol.Handlers
|
2024-09-16 02:56:02 +08:00
|
|
|
|
{
|
|
|
|
|
[PacketHandlerAttr(0x11, 0x41)]
|
|
|
|
|
public class CreateCharacterOne : PacketHandler
|
|
|
|
|
{
|
|
|
|
|
#region implemented abstract members of PacketHandler
|
|
|
|
|
|
|
|
|
|
public override void HandlePacket(Client context, byte flags, byte[] data, uint position, uint size)
|
|
|
|
|
{
|
2024-12-05 23:13:55 +08:00
|
|
|
|
//TODO 这里需要获取账号的AC是否足够,并且判断角色槽位是否已满
|
|
|
|
|
context.SendPacket(new CreateCharacterOneResponsePacket(0, 0, 0, 0));
|
2024-09-16 02:56:02 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|