mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
26 lines
865 B
Markdown
26 lines
865 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
|
|||
|
|
|||
|
You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.
|
|||
|
|
|||
|
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”.
|
|||
|
|
|||
|
<b>Signature:</b>
|
|||
|
|
|||
|
```typescript
|
|||
|
getCurrentAction(): BladeburnerCurAction;
|
|||
|
```
|
|||
|
<b>Returns:</b>
|
|||
|
|
|||
|
[BladeburnerCurAction](./bitburner.bladeburnercuraction.md)
|
|||
|
|
|||
|
Object that represents the player’s current Bladeburner action.
|
|||
|
|
|||
|
## Remarks
|
|||
|
|
|||
|
1 GB
|
|||
|
|