bitburner-src/markdown/bitburner.gang.getbonustime.md

30 lines
771 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; [Gang](./bitburner.gang.md) &gt; [getBonusTime](./bitburner.gang.getbonustime.md)
## Gang.getBonusTime() method
If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.
Returns the amount of accumulated “bonus time” (seconds) for the Gang mechanic.
“Bonus time” is accumulated when the game is offline or if the game is inactive in the browser.
“Bonus time” makes the game progress faster, up to 10x the normal speed.
<b>Signature:</b>
```typescript
getBonusTime(): number;
```
<b>Returns:</b>
number
Bonus time for the Gang mechanic in seconds.
## Remarks
2021-10-30 21:46:34 +02:00
RAM cost: 0 GB
2021-10-30 18:34:14 +02:00