2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getActionCurrentLevel](./bitburner.bladeburner.getactioncurrentlevel.md)
|
|
|
|
|
|
|
|
## Bladeburner.getActionCurrentLevel() method
|
|
|
|
|
|
|
|
Get the current level of an action.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
2024-08-16 22:45:54 +02:00
|
|
|
getActionCurrentLevel(type: string, name: string): number;
|
2022-10-21 17:16:00 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2024-08-16 22:45:54 +02:00
|
|
|
| type | string | Type of action. |
|
|
|
|
| name | string | Name of action. Must be an exact match. |
|
2022-10-21 17:16:00 +02:00
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
number
|
|
|
|
|
|
|
|
Current level of the specified action.
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 4 GB
|
|
|
|
|
|
|
|
Returns the current level of this action.
|
|
|
|
|
|
|
|
Returns -1 if an invalid action is specified.
|
|
|
|
|