mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
958 B
958 B
Home > bitburner > Hacknet > getNodeStats
Hacknet.getNodeStats() method
Get the stats of a hacknet node.
Signature:
getNodeStats(index: number): NodeStats;
Parameters
Parameter | Type | Description |
---|---|---|
index | number | Index/Identifier of Hacknet Node |
Returns:
Object containing a variety of stats about the specified Hacknet Node.
Remarks
RAM cost: 0 GB
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.