mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
1.2 KiB
1.2 KiB
Home > bitburner > DarknetFormulas > getExpectedRamBlockRemoved
DarknetFormulas.getExpectedRamBlockRemoved() method
Gets the expected amount off ram that will be freed by a call to dnet.memoryReallocation
Signature:
getExpectedRamBlockRemoved(darknetServerData: DarknetServerData, threads?: number, player?: Person): number;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
darknetServerData |
The server to check ram freed on. | |
|
threads |
number |
(Optional) The number of threads used in the memoryReallocation call. Optional, defaults to 1 |
|
player |
(Optional) The player object. Optional, defaults to the current player status |
Returns:
number