mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 21:53:50 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
24 lines
546 B
Markdown
24 lines
546 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCurrentWork](./bitburner.singularity.getcurrentwork.md)
|
|
|
|
## Singularity.getCurrentWork() method
|
|
|
|
Get the current work the player is doing.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
getCurrentWork(): any | null;
|
|
```
|
|
<b>Returns:</b>
|
|
|
|
any \| null
|
|
|
|
- An object representing the current work. Fields depend on the kind of work.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0.5 GB \* 16/4/1
|
|
|