mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-29 17:37:34 +01:00
27 lines
678 B
Markdown
27 lines
678 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) > [hashGainRate](./bitburner.hacknetserversformulas.hashgainrate.md)
|
||
|
|
||
|
## HacknetServersFormulas.hashGainRate() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
hashGainRate(level: number, ramUsed: number, maxRam: number, cores: number, mult?: number): number;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| level | number | |
|
||
|
| ramUsed | number | |
|
||
|
| maxRam | number | |
|
||
|
| cores | number | |
|
||
|
| mult | number | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
number
|
||
|
|