mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 01:47:33 +01:00
33 lines
674 B
Markdown
33 lines
674 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Hacknet](./bitburner.hacknet.md) > [getHashUpgradeLevel](./bitburner.hacknet.gethashupgradelevel.md)
|
||
|
|
||
|
## Hacknet.getHashUpgradeLevel() method
|
||
|
|
||
|
Get the level of a hash upgrade.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
getHashUpgradeLevel(upgName: string): number;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| upgName | string | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
number
|
||
|
|
||
|
Level of the upgrade.
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 0 GB
|
||
|
|
||
|
This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).
|
||
|
|