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) > [Singularity](./bitburner.singularity.md) > [getCurrentWork](./bitburner.singularity.getcurrentwork.md)
|
|
|
|
|
|
|
|
## Singularity.getCurrentWork() method
|
|
|
|
|
|
|
|
Get the current work the player is doing.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
getCurrentWork(): any | null;
|
|
|
|
```
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
any \| null
|
|
|
|
|
|
|
|
- An object representing the current work. Fields depend on the kind of work.
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 0.5 GB \* 16/4/1
|
|
|
|
|