mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 09:57:32 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
26 lines
770 B
Markdown
26 lines
770 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
||
[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getCurrentAction](./bitburner.bladeburner.getcurrentaction.md)
|
||
|
||
## Bladeburner.getCurrentAction() method
|
||
|
||
Get current action.
|
||
|
||
<b>Signature:</b>
|
||
|
||
```typescript
|
||
getCurrentAction(): BladeburnerCurAction;
|
||
```
|
||
<b>Returns:</b>
|
||
|
||
[BladeburnerCurAction](./bitburner.bladeburnercuraction.md)
|
||
|
||
Object that represents the player’s current Bladeburner action.
|
||
|
||
## Remarks
|
||
|
||
RAM cost: 1 GB
|
||
|
||
Returns an object that represents the player’s current Bladeburner action. If the player is not performing an action, the function will return an object with the ‘type’ property set to “Idle”.
|
||
|