2024-08-05 22:42:19 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GoAnalysis](./bitburner.goanalysis.md) > [getStats](./bitburner.goanalysis.getstats.md)
|
|
|
|
|
|
|
|
## GoAnalysis.getStats() method
|
|
|
|
|
|
|
|
Displays the game history, captured nodes, and gained bonuses for each opponent you have played against.
|
|
|
|
|
|
|
|
The details are keyed by opponent name, in this structure:
|
|
|
|
|
2024-08-14 00:57:15 +02:00
|
|
|
```js
|
|
|
|
{
|
|
|
|
<OpponentName>: {
|
|
|
|
wins: number,
|
|
|
|
losses: number,
|
|
|
|
winStreak: number,
|
|
|
|
highestWinStreak: number,
|
|
|
|
favor: number,
|
|
|
|
bonusPercent: number,
|
|
|
|
bonusDescription: string,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
2024-08-05 22:42:19 +02:00
|
|
|
|
|
|
|
**Signature:**
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
getStats(): Partial<Record<GoOpponent, SimpleOpponentStats>>;
|
|
|
|
```
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
Partial<Record<[GoOpponent](./bitburner.goopponent.md)<!-- -->, [SimpleOpponentStats](./bitburner.simpleopponentstats.md)<!-- -->>>
|
|
|
|
|