DOCUMENTATION: Add GoAnalysis and GoCheat (#1548)

This commit is contained in:
catloversg
2024-08-06 03:42:19 +07:00
committed by GitHub
parent 9a77b47241
commit 180dae1d2c
17 changed files with 609 additions and 273 deletions
+21
View File
@@ -0,0 +1,21 @@
<!-- 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; [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:
<pre lang="javascript"> { <OpponentName>: { wins: number, losses: number, winStreak: number, highestWinStreak: number, favor: number, bonusPercent: number, bonusDescription: string, } } </pre>
**Signature:**
```typescript
getStats(): Partial<Record<GoOpponent, SimpleOpponentStats>>;
```
**Returns:**
Partial&lt;Record&lt;[GoOpponent](./bitburner.goopponent.md)<!-- -->, [SimpleOpponentStats](./bitburner.simpleopponentstats.md)<!-- -->&gt;&gt;