public void SendCommand(CommandPacket command) { this.lastCommandSent = command; this.SendData(PacketBinConverter.ToBinary(command)); }