mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
33 lines
781 B
Markdown
33 lines
781 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [setActionAutolevel](./bitburner.bladeburner.setactionautolevel.md)
|
||
|
|
||
|
## Bladeburner.setActionAutolevel() method
|
||
|
|
||
|
Set an action autolevel.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
setActionAutolevel(type: string, name: string, autoLevel: boolean): void;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| type | string | Type of action. |
|
||
|
| name | string | Name of action. Must be an exact match. |
|
||
|
| autoLevel | boolean | Whether or not to autolevel this action |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
void
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 4 GB
|
||
|
|
||
|
Enable/disable autoleveling for the specified action.
|
||
|
|