bitburner-src/markdown/bitburner.hacknet.getnodestats.md

35 lines
958 B
Markdown
Raw Normal View History

2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2021-10-30 21:46:34 +02:00
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Hacknet](./bitburner.hacknet.md) &gt; [getNodeStats](./bitburner.hacknet.getnodestats.md)
2021-10-30 18:34:14 +02:00
2021-10-30 21:46:34 +02:00
## Hacknet.getNodeStats() method
2021-10-30 18:34:14 +02:00
2021-11-03 05:27:21 +01:00
Get the stats of a hacknet node.
2021-10-30 18:34:14 +02:00
<b>Signature:</b>
```typescript
getNodeStats(index: number): NodeStats;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| index | number | Index/Identifier of Hacknet Node |
<b>Returns:</b>
[NodeStats](./bitburner.nodestats.md)
Object containing a variety of stats about the specified Hacknet Node.
## Remarks
2021-10-30 21:46:34 +02:00
RAM cost: 0 GB
2021-10-30 18:34:14 +02:00
2021-11-03 05:27:21 +01:00
Returns an object containing a variety of stats about the specified Hacknet Node.
Note that for Hacknet Nodes, production refers to the amount of money the node generates. For Hacknet Servers (the upgraded version of Hacknet Nodes), production refers to the amount of hashes the node generates.