mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
DARKNET: Darkweb Expansion Project & Bitnode (#2139)
This is BN15. It is a really big change; see the PR for all the details.
This commit is contained in:
committed by
GitHub
parent
a674633f6c
commit
6073964768
@@ -0,0 +1,86 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[Home](./index.md) > [bitburner](./bitburner.md) > [DarknetFormulas](./bitburner.darknetformulas.md) > [getExpectedRamBlockRemoved](./bitburner.darknetformulas.getexpectedramblockremoved.md)
|
||||
|
||||
## DarknetFormulas.getExpectedRamBlockRemoved() method
|
||||
|
||||
Gets the expected amount off ram that will be freed by a call to dnet.memoryReallocation
|
||||
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
getExpectedRamBlockRemoved(darknetServerData: DarknetServerData, threads?: number, player?: Person): number;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
<table><thead><tr><th>
|
||||
|
||||
Parameter
|
||||
|
||||
|
||||
</th><th>
|
||||
|
||||
Type
|
||||
|
||||
|
||||
</th><th>
|
||||
|
||||
Description
|
||||
|
||||
|
||||
</th></tr></thead>
|
||||
<tbody><tr><td>
|
||||
|
||||
darknetServerData
|
||||
|
||||
|
||||
</td><td>
|
||||
|
||||
[DarknetServerData](./bitburner.darknetserverdata.md)
|
||||
|
||||
|
||||
</td><td>
|
||||
|
||||
The server to check ram freed on.
|
||||
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
threads
|
||||
|
||||
|
||||
</td><td>
|
||||
|
||||
number
|
||||
|
||||
|
||||
</td><td>
|
||||
|
||||
_(Optional)_ The number of threads used in the memoryReallocation call. Optional, defaults to 1
|
||||
|
||||
|
||||
</td></tr>
|
||||
<tr><td>
|
||||
|
||||
player
|
||||
|
||||
|
||||
</td><td>
|
||||
|
||||
[Person](./bitburner.person.md)
|
||||
|
||||
|
||||
</td><td>
|
||||
|
||||
_(Optional)_ The player object. Optional, defaults to the current player status
|
||||
|
||||
|
||||
</td></tr>
|
||||
</tbody></table>
|
||||
|
||||
**Returns:**
|
||||
|
||||
number
|
||||
|
||||
Reference in New Issue
Block a user