mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
33 lines
668 B
Markdown
33 lines
668 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.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getHashUpgradeLevel(upgName: string): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| upgName | string | |
|
|
|
|
**Returns:**
|
|
|
|
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).
|
|
|