bitburner-src/markdown/bitburner.hacknet.md

45 lines
2.6 KiB
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)
2021-10-30 18:34:14 +02:00
2021-10-30 21:46:34 +02:00
## Hacknet interface
2021-10-30 18:34:14 +02:00
2021-10-30 21:46:34 +02:00
Hacknet API
2021-10-30 18:34:14 +02:00
<b>Signature:</b>
```typescript
export interface Hacknet
2021-10-30 18:34:14 +02:00
```
2021-11-03 05:27:21 +01:00
## Remarks
Not all these functions are immediately available.
2021-10-30 18:34:14 +02:00
## Methods
| Method | Description |
| --- | --- |
2021-11-03 05:27:21 +01:00
| [getCacheUpgradeCost(index, n)](./bitburner.hacknet.getcacheupgradecost.md) | Calculate the cost of upgrading hacknet node cache. |
| [getCoreUpgradeCost(index, n)](./bitburner.hacknet.getcoreupgradecost.md) | Calculate the cost of upgrading hacknet node cores. |
| [getHashUpgradeLevel(upgName)](./bitburner.hacknet.gethashupgradelevel.md) | Get the level of a hash upgrade. |
| [getHashUpgrades()](./bitburner.hacknet.gethashupgrades.md) | Get the list of hash upgrades |
2021-11-03 05:27:21 +01:00
| [getLevelUpgradeCost(index, n)](./bitburner.hacknet.getlevelupgradecost.md) | Calculate the cost of upgrading hacknet node levels. |
| [getNodeStats(index)](./bitburner.hacknet.getnodestats.md) | Get the stats of a hacknet node. |
| [getPurchaseNodeCost()](./bitburner.hacknet.getpurchasenodecost.md) | Get the price of the next hacknet node. |
| [getRamUpgradeCost(index, n)](./bitburner.hacknet.getramupgradecost.md) | Calculate the cost of upgrading hacknet node RAM. |
2022-03-17 21:50:46 +01:00
| [getStudyMult()](./bitburner.hacknet.getstudymult.md) | Get the multiplier to study. |
| [getTrainingMult()](./bitburner.hacknet.gettrainingmult.md) | Get the multiplier to training. |
| [hashCapacity()](./bitburner.hacknet.hashcapacity.md) | Get the maximum number of hashes you can store. |
2021-11-03 05:27:21 +01:00
| [hashCost(upgName)](./bitburner.hacknet.hashcost.md) | Get the cost of a hash upgrade. |
| [maxNumNodes()](./bitburner.hacknet.maxnumnodes.md) | Get the maximum number of hacknet nodes. |
2021-11-03 05:27:21 +01:00
| [numHashes()](./bitburner.hacknet.numhashes.md) | Get the total number of hashes stored. |
| [numNodes()](./bitburner.hacknet.numnodes.md) | Get the number of hacknet nodes you own. |
| [purchaseNode()](./bitburner.hacknet.purchasenode.md) | Purchase a new hacknet node. |
| [spendHashes(upgName, upgTarget)](./bitburner.hacknet.spendhashes.md) | Purchase a hash upgrade. |
| [upgradeCache(index, n)](./bitburner.hacknet.upgradecache.md) | Upgrade the cache of a hacknet node. |
| [upgradeCore(index, n)](./bitburner.hacknet.upgradecore.md) | Upgrade the core of a hacknet node. |
| [upgradeLevel(index, n)](./bitburner.hacknet.upgradelevel.md) | Upgrade the level of a hacknet node. |
| [upgradeRam(index, n)](./bitburner.hacknet.upgraderam.md) | Upgrade the RAM of a hacknet node. |
2021-10-30 18:34:14 +02:00