Files
bitburner-src/markdown/bitburner.goanalysis.resetstats.md
T
2025-03-22 23:59:46 -07:00

25 lines
663 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GoAnalysis](./bitburner.goanalysis.md) &gt; [resetStats](./bitburner.goanalysis.resetstats.md)
## GoAnalysis.resetStats() method
Reset all win/loss and winstreak records for the No AI opponent.
**Signature:**
```typescript
resetStats(resetAll?: boolean): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| resetAll | boolean | _(Optional)_ Optional. if true, reset win/loss records for all opponents. Leaves node power and bonuses unchanged. Defaults to false. |
**Returns:**
void