mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 19:14:32 +02:00
dcd2f33f7c
* Update api-documentor and api-extractor. #1566 follow-up.
I have verified that the HTML/markdown table generation bug in
[#4878](https://github.com/microsoft/rushstack/issues/4878) in rushstack
for api-documentor has been fixed as per rushstack#5256. The testcase
[repro](https://github.com/catloversg/api-documenter-bug-pr-4578) now
produces the correct expected output.
I have confirmed that the generated output in bitburner from
`npm run doc` now generated HTML tables, and correctly inserts
a blank line between the </table> and the follow line (e.g. Returns).
Stylisticly it could use some whitespace, but it is correctly rendered.
This commit is only the updated packages, not the updated generated
documentation. I assume that is automatically generated by the GitHub
workflow.
* Follow up to 5f732a6f35, include `npm run doc` changed docs.
* Add missing license info
* Fix React warning
---------
Co-authored-by: CatLover <152669316+catloversg@users.noreply.github.com>
230 lines
1.9 KiB
Markdown
230 lines
1.9 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NodeStats](./bitburner.nodestats.md)
|
|
|
|
## NodeStats interface
|
|
|
|
Object representing all the values related to a hacknet node.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
interface NodeStats
|
|
```
|
|
|
|
## Properties
|
|
|
|
<table><thead><tr><th>
|
|
|
|
Property
|
|
|
|
|
|
</th><th>
|
|
|
|
Modifiers
|
|
|
|
|
|
</th><th>
|
|
|
|
Type
|
|
|
|
|
|
</th><th>
|
|
|
|
Description
|
|
|
|
|
|
</th></tr></thead>
|
|
<tbody><tr><td>
|
|
|
|
[cache?](./bitburner.nodestats.cache.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
_(Optional)_ Cache level. Only applicable for Hacknet Servers
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[cores](./bitburner.nodestats.cores.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Node's number of cores
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[hashCapacity?](./bitburner.nodestats.hashcapacity.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
_(Optional)_ Hash Capacity provided by this Node. Only applicable for Hacknet Servers
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[level](./bitburner.nodestats.level.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Node's level
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[name](./bitburner.nodestats.name.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
string
|
|
|
|
|
|
</td><td>
|
|
|
|
Node's name
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[production](./bitburner.nodestats.production.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Node's production per second
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[ram](./bitburner.nodestats.ram.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Node's RAM (GB)
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[ramUsed?](./bitburner.nodestats.ramused.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
_(Optional)_ Node's used RAM (GB)
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[timeOnline](./bitburner.nodestats.timeonline.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Number of seconds since Node has been purchased
|
|
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
[totalProduction](./bitburner.nodestats.totalproduction.md)
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
|
|
</td><td>
|
|
|
|
Total number of money Node has produced
|
|
|
|
|
|
</td></tr>
|
|
</tbody></table>
|
|
|