public static void DeleteCharacter(PacketReader packet, PacketBuilder builder, ClientHandler client, EventHandler events) { var charID = packet.ReadInt(); var server = (int)client.Metadata["server"]; var syncServer = client.Metadata["syncServer"] as SyncReceiver; var status = CharacterManagement.DeleteCharacter(syncServer, server, client.AccountID, charID - client.AccountID * 8); builder.New(0x87); { builder += (byte)status; } client.Send(builder, "DelMyChartr"); }