public static PacketProcessResult HandleCharCreate(PacketProcessor p) { CMSG_CHAR_CREATE create = new CMSG_CHAR_CREATE(); create.Read(p.CurrentPacket); p.ClientConnection.CurrentSession.HandleCharCreate(create); return PacketProcessResult.Processed; }
public async Task HandleCharCreate(CMSG_CHAR_CREATE create) { if (!IsAuthedRealmSession()) return; await Account.CreatePlayer(create); }