mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 02:03:58 +01:00
33 lines
914 B
Markdown
33 lines
914 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [getNodeStats](./bitburner.hacknet.getnodestats.md)
|
|
|
|
## HackNet.getNodeStats() method
|
|
|
|
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.
|
|
|
|
<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
|
|
|
|
0 GB
|
|
|