mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
24 lines
575 B
Markdown
24 lines
575 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) > [hashUpgradeCost](./bitburner.hacknetserversformulas.hashupgradecost.md)
|
||
|
|
||
|
## HacknetServersFormulas.hashUpgradeCost() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
hashUpgradeCost(upgName: number, level: number): number;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| upgName | number | |
|
||
|
| level | number | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
number
|
||
|
|