bitburner-src/markdown/bitburner.bladeburner.getcurrentaction.md

26 lines
770 B
Markdown
Raw Normal View History

2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Bladeburner](./bitburner.bladeburner.md) &gt; [getCurrentAction](./bitburner.bladeburner.getcurrentaction.md)
## Bladeburner.getCurrentAction() method
2021-11-03 05:27:21 +01:00
Get current action.
2021-10-30 18:34:14 +02:00
<b>Signature:</b>
```typescript
getCurrentAction(): BladeburnerCurAction;
```
<b>Returns:</b>
[BladeburnerCurAction](./bitburner.bladeburnercuraction.md)
Object that represents the players current Bladeburner action.
## Remarks
2021-10-30 21:46:34 +02:00
RAM cost: 1 GB
2021-10-30 18:34:14 +02:00
2021-11-03 05:27:21 +01:00
Returns an object that represents the players current Bladeburner action. If the player is not performing an action, the function will return an object with the type property set to “Idle”.