bitburner-src/markdown/bitburner.resetinfo.md
catloversg 72a63b15cb
API: Return active SF levels in getOwnedSourceFiles and ResetInfo.ownedSF (#1761)
* DOCUMENTATION: Clarify getOwnedSourceFiles when player overrides active levels of SFs
* Return Player.activeSourceFiles instead of Player.sourceFiles
* Get rid of zeroes in the map
2024-11-10 22:56:57 -08:00

26 lines
1.6 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [ResetInfo](./bitburner.resetinfo.md)
## ResetInfo interface
Various info about resets
**Signature:**
```typescript
interface ResetInfo
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [bitNodeOptions](./bitburner.resetinfo.bitnodeoptions.md) | | [BitNodeOptions](./bitburner.bitnodeoptions.md) | Current BitNode options |
| [currentNode](./bitburner.resetinfo.currentnode.md) | | number | The current BitNode |
| [lastAugReset](./bitburner.resetinfo.lastaugreset.md) | | number | Numeric timestamp (from Date.now()) of last augmentation reset |
| [lastNodeReset](./bitburner.resetinfo.lastnodereset.md) | | number | Numeric timestamp (from Date.now()) of last BitNode reset |
| [ownedAugs](./bitburner.resetinfo.ownedaugs.md) | | Map&lt;string, number&gt; | A map of owned augmentations to their levels. Keyed by the augmentation name. Map values are the augmentation level (e.g. for NeuroFlux governor). |
| [ownedSF](./bitburner.resetinfo.ownedsf.md) | | Map&lt;number, number&gt; | <p>A map of owned source files. Its keys are the SF numbers. Its values are the active SF levels. This map takes BitNode options into account.</p><p>For example, let's say you have SF 1.3, but you overrode the active level of SF1 and set it to level 1. In this case, this map contains this entry: Key: 1 =<!-- -->&gt; Value: 1.</p><p>If the active level of a source file is 0, that source file won't be included in the result.</p> |