From 497618dc2fc26efbc2236ecf5e569452d6bff492 Mon Sep 17 00:00:00 2001 From: Snarling <84951833+Snarling@users.noreply.github.com> Date: Wed, 31 Jan 2024 19:37:08 -0500 Subject: [PATCH] Generate missing docs --- .../bitburner.moneysource.gang_expenses.md | 11 +++++++ markdown/bitburner.moneysource.md | 1 + markdown/bitburner.ns.md | 1 + markdown/bitburner.ns.nextportwrite.md | 30 +++++++++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 markdown/bitburner.moneysource.gang_expenses.md create mode 100644 markdown/bitburner.ns.nextportwrite.md diff --git a/markdown/bitburner.moneysource.gang_expenses.md b/markdown/bitburner.moneysource.gang_expenses.md new file mode 100644 index 000000000..0778d77df --- /dev/null +++ b/markdown/bitburner.moneysource.gang_expenses.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [MoneySource](./bitburner.moneysource.md) > [gang\_expenses](./bitburner.moneysource.gang_expenses.md) + +## MoneySource.gang\_expenses property + +**Signature:** + +```typescript +gang_expenses: number; +``` diff --git a/markdown/bitburner.moneysource.md b/markdown/bitburner.moneysource.md index e057e8146..b85ae8297 100644 --- a/markdown/bitburner.moneysource.md +++ b/markdown/bitburner.moneysource.md @@ -22,6 +22,7 @@ interface MoneySource | [codingcontract](./bitburner.moneysource.codingcontract.md) | | number | | | [corporation](./bitburner.moneysource.corporation.md) | | number | | | [crime](./bitburner.moneysource.crime.md) | | number | | +| [gang\_expenses](./bitburner.moneysource.gang_expenses.md) | | number | | | [gang](./bitburner.moneysource.gang.md) | | number | | | [hacking](./bitburner.moneysource.hacking.md) | | number | | | [hacknet\_expenses](./bitburner.moneysource.hacknet_expenses.md) | | number | | diff --git a/markdown/bitburner.ns.md b/markdown/bitburner.ns.md index 8d452408c..7d962f984 100644 --- a/markdown/bitburner.ns.md +++ b/markdown/bitburner.ns.md @@ -132,6 +132,7 @@ export async function main(ns) { | [ls(host, substring)](./bitburner.ns.ls.md) | List files on a server. | | [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. | +| [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. | | [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. | diff --git a/markdown/bitburner.ns.nextportwrite.md b/markdown/bitburner.ns.nextportwrite.md new file mode 100644 index 000000000..5cde6f8f4 --- /dev/null +++ b/markdown/bitburner.ns.nextportwrite.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [nextPortWrite](./bitburner.ns.nextportwrite.md) + +## NS.nextPortWrite() method + +Listen for a port write. + +**Signature:** + +```typescript +nextPortWrite(port: number): Promise; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| port | number | Port to listen for a write on. Must be a positive integer. | + +**Returns:** + +Promise<void> + +## Remarks + +RAM cost: 0 GB + +Sleeps until the port is written to. +