Generate missing docs

This commit is contained in:
Snarling 2024-01-31 19:37:08 -05:00
parent 0ded11af53
commit 497618dc2f
4 changed files with 43 additions and 0 deletions

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [MoneySource](./bitburner.moneysource.md) &gt; [gang\_expenses](./bitburner.moneysource.gang_expenses.md)
## MoneySource.gang\_expenses property
**Signature:**
```typescript
gang_expenses: number;
```

@ -22,6 +22,7 @@ interface MoneySource
| [codingcontract](./bitburner.moneysource.codingcontract.md) | | number | | | [codingcontract](./bitburner.moneysource.codingcontract.md) | | number | |
| [corporation](./bitburner.moneysource.corporation.md) | | number | | | [corporation](./bitburner.moneysource.corporation.md) | | number | |
| [crime](./bitburner.moneysource.crime.md) | | number | | | [crime](./bitburner.moneysource.crime.md) | | number | |
| [gang\_expenses](./bitburner.moneysource.gang_expenses.md) | | number | |
| [gang](./bitburner.moneysource.gang.md) | | number | | | [gang](./bitburner.moneysource.gang.md) | | number | |
| [hacking](./bitburner.moneysource.hacking.md) | | number | | | [hacking](./bitburner.moneysource.hacking.md) | | number | |
| [hacknet\_expenses](./bitburner.moneysource.hacknet_expenses.md) | | number | | | [hacknet\_expenses](./bitburner.moneysource.hacknet_expenses.md) | | number | |

@ -132,6 +132,7 @@ export async function main(ns) {
| [ls(host, substring)](./bitburner.ns.ls.md) | List files on a server. | | [ls(host, substring)](./bitburner.ns.ls.md) | List files on a server. |
| [moveTail(x, y, pid)](./bitburner.ns.movetail.md) | Move a tail window. | | [moveTail(x, y, pid)](./bitburner.ns.movetail.md) | Move a tail window. |
| [mv(host, source, destination)](./bitburner.ns.mv.md) | Move a file on the target server. | | [mv(host, source, destination)](./bitburner.ns.mv.md) | Move a file on the target server. |
| [nextPortWrite(port)](./bitburner.ns.nextportwrite.md) | Listen for a port write. |
| [nFormat(n, format)](./bitburner.ns.nformat.md) | Format a number using the numeral library. This function is deprecated and will be removed in 2.4. | | [nFormat(n, format)](./bitburner.ns.nformat.md) | Format a number using the numeral library. This function is deprecated and will be removed in 2.4. |
| [nuke(host)](./bitburner.ns.nuke.md) | Runs NUKE.exe on a server. | | [nuke(host)](./bitburner.ns.nuke.md) | Runs NUKE.exe on a server. |
| [peek(portNumber)](./bitburner.ns.peek.md) | Get a copy of the data from a port without popping it. | | [peek(portNumber)](./bitburner.ns.peek.md) | Get a copy of the data from a port without popping it. |

@ -0,0 +1,30 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [nextPortWrite](./bitburner.ns.nextportwrite.md)
## NS.nextPortWrite() method
Listen for a port write.
**Signature:**
```typescript
nextPortWrite(port: number): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| port | number | Port to listen for a write on. Must be a positive integer. |
**Returns:**
Promise&lt;void&gt;
## Remarks
RAM cost: 0 GB
Sleeps until the port is written to.