mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 08:43:53 +01:00
Generate missing docs
This commit is contained in:
parent
0ded11af53
commit
497618dc2f
11
markdown/bitburner.moneysource.gang_expenses.md
Normal file
11
markdown/bitburner.moneysource.gang_expenses.md
Normal file
@ -0,0 +1,11 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[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;
|
||||
```
|
@ -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 | |
|
||||
|
@ -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. |
|
||||
|
30
markdown/bitburner.ns.nextportwrite.md
Normal file
30
markdown/bitburner.ns.nextportwrite.md
Normal file
@ -0,0 +1,30 @@
|
||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||
|
||||
[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<void>;
|
||||
```
|
||||
|
||||
## 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.
|
||||
|
Loading…
Reference in New Issue
Block a user