bitburner-src/markdown/bitburner.gang.getbonustime.md
Olivier Gagnon feb0430aff work on doc
2021-10-30 15:46:34 -04:00

30 lines
771 B
Markdown

<!-- 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
RAM cost: 0 GB