mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 04:05:46 +01:00
more doc
This commit is contained in:
parent
2b79871c02
commit
d82f3e7ad7
179
dist/bitburner.d.ts
vendored
179
dist/bitburner.d.ts
vendored
@ -875,6 +875,25 @@ export declare interface CrimeStats {
|
|||||||
intelligence_exp: number;
|
intelligence_exp: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Object representing data representing a gang member equipment.
|
||||||
|
* @public
|
||||||
|
*/
|
||||||
|
export declare interface EquipmentStats {
|
||||||
|
/** Strength multiplier */
|
||||||
|
str: number;
|
||||||
|
/** Defense multiplier */
|
||||||
|
def: number;
|
||||||
|
/** Dexterity multiplier */
|
||||||
|
dex: number;
|
||||||
|
/** Agility multiplier */
|
||||||
|
agi: number;
|
||||||
|
/** Charisma multiplier */
|
||||||
|
cha: number;
|
||||||
|
/** Hacking multiplier */
|
||||||
|
hack: number;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gang API
|
* Gang API
|
||||||
* @remarks
|
* @remarks
|
||||||
@ -989,7 +1008,7 @@ export declare interface Gang {
|
|||||||
* @param name - Name of the task.
|
* @param name - Name of the task.
|
||||||
* @returns Detailed stats of a task.
|
* @returns Detailed stats of a task.
|
||||||
*/
|
*/
|
||||||
getTaskStats(name: string): stringStats;
|
getTaskStats(name: string): GangTaskStats;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List equipment names.
|
* List equipment names.
|
||||||
@ -1038,7 +1057,7 @@ export declare interface Gang {
|
|||||||
* @param equipName - Name of equipment.
|
* @param equipName - Name of equipment.
|
||||||
* @returns A dictionary containing the stats of the equipment.
|
* @returns A dictionary containing the stats of the equipment.
|
||||||
*/
|
*/
|
||||||
getEquipmentStats(equipName: string): stringStats;
|
getEquipmentStats(equipName: string): EquipmentStats;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Purchase an equipment for a gang member.
|
* Purchase an equipment for a gang member.
|
||||||
@ -1202,10 +1221,10 @@ export declare interface GangMemberInfo {
|
|||||||
/**
|
/**
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
export declare type GangOtherInfo = {
|
export declare interface GangOtherInfo {
|
||||||
/** Stock Symbol */
|
/** Stock Symbol */
|
||||||
[key: string]: GangOtherInfoObject[];
|
[key: string]: GangOtherInfoObject[];
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @public
|
* @public
|
||||||
@ -1217,6 +1236,55 @@ export declare interface GangOtherInfoObject {
|
|||||||
territory: number;
|
territory: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Object representing data representing a gang member task.
|
||||||
|
* @public
|
||||||
|
*/
|
||||||
|
export declare interface GangTaskStats {
|
||||||
|
/** Task name */
|
||||||
|
name: string;
|
||||||
|
/** Task Description */
|
||||||
|
desc: string;
|
||||||
|
/** Is a task of a hacking gang */
|
||||||
|
isHacking: boolean;
|
||||||
|
/** Is a task of a combat gang */
|
||||||
|
isCombat: boolean;
|
||||||
|
/** Base respect earned */
|
||||||
|
baseRespect: number;
|
||||||
|
/** Base wanted earned */
|
||||||
|
baseWanted: number;
|
||||||
|
/** Base money earned */
|
||||||
|
baseMoney: number;
|
||||||
|
/** Hacking skill impact on task scaling */
|
||||||
|
hackWeight: number;
|
||||||
|
/** Stength skill impact on task scaling */
|
||||||
|
strWeight: number;
|
||||||
|
/** Defense skill impact on task scaling */
|
||||||
|
defWeight: number;
|
||||||
|
/** Dexterity skill impact on task scaling */
|
||||||
|
dexWeight: number;
|
||||||
|
/** Agility skill impact on task scaling */
|
||||||
|
agiWeight: number;
|
||||||
|
/** Charisma skill impact on task scaling */
|
||||||
|
chaWeight: number;
|
||||||
|
/** Number representing the difficulty of the task */
|
||||||
|
difficulty: number;
|
||||||
|
/** Territory impact on task scaling */
|
||||||
|
territory: GangTerritory;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @public
|
||||||
|
*/
|
||||||
|
export declare interface GangTerritory {
|
||||||
|
/** Money gain impact on task scaling */
|
||||||
|
money: number;
|
||||||
|
/** Respect gain impact on task scaling */
|
||||||
|
respect: number;
|
||||||
|
/** Wanted gain impact on task scaling */
|
||||||
|
wanted: number;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hack related multipliers.
|
* Hack related multipliers.
|
||||||
* @public
|
* @public
|
||||||
@ -1512,11 +1580,6 @@ export declare interface HacknetMultipliers {
|
|||||||
levelCost: number;
|
levelCost: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
export declare type Handle = string | Port;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Object representing all the values related to a hacknet node.
|
* Object representing all the values related to a hacknet node.
|
||||||
* @public
|
* @public
|
||||||
@ -2573,7 +2636,7 @@ export declare interface NS extends Singularity {
|
|||||||
* @param data - Data to write.
|
* @param data - Data to write.
|
||||||
* @param mode - Defines the write mode. Only valid when writing to text files.
|
* @param mode - Defines the write mode. Only valid when writing to text files.
|
||||||
*/
|
*/
|
||||||
write(handle: Handle, data?: string[] | number, mode?: "w" | "a"): void;
|
write(handle: string | number, data?: string[] | number, mode?: "w" | "a"): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attempts to write data to the specified Netscript Port.
|
* Attempts to write data to the specified Netscript Port.
|
||||||
@ -2585,7 +2648,7 @@ export declare interface NS extends Singularity {
|
|||||||
* @param data - Data to write.
|
* @param data - Data to write.
|
||||||
* @returns True if the data is successfully written to the port, and false otherwise.
|
* @returns True if the data is successfully written to the port, and false otherwise.
|
||||||
*/
|
*/
|
||||||
tryWrite(port: Handle, data: string[] | number): boolean;
|
tryWrite(port: number, data: string[] | number): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is used to read data from a port or from a text file (.txt).
|
* This function is used to read data from a port or from a text file (.txt).
|
||||||
@ -2603,7 +2666,7 @@ export declare interface NS extends Singularity {
|
|||||||
* @param handle - Port or text file to read from.
|
* @param handle - Port or text file to read from.
|
||||||
* @returns Data in the specified text file or port.
|
* @returns Data in the specified text file or port.
|
||||||
*/
|
*/
|
||||||
read(handle: Handle): string | number | object;
|
read(handle: string | number): string | number | object;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is used to peek at the data from a port. It returns the
|
* This function is used to peek at the data from a port. It returns the
|
||||||
@ -2614,7 +2677,7 @@ export declare interface NS extends Singularity {
|
|||||||
* @param port - Port to peek. Must be an integer between 1 and 20.
|
* @param port - Port to peek. Must be an integer between 1 and 20.
|
||||||
* @returns Data in the specified port.
|
* @returns Data in the specified port.
|
||||||
*/
|
*/
|
||||||
peek(port: Port): string | number | object;
|
peek(port: number): string | number | object;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is used to clear data in a Netscript Ports or a text file.
|
* This function is used to clear data in a Netscript Ports or a text file.
|
||||||
@ -2628,7 +2691,7 @@ export declare interface NS extends Singularity {
|
|||||||
* @remarks RAM cost: 1 GB
|
* @remarks RAM cost: 1 GB
|
||||||
* @param handle - Port or text file to clear.
|
* @param handle - Port or text file to clear.
|
||||||
*/
|
*/
|
||||||
clear(handle: Handle): void;
|
clear(handle: string | number): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a handle to a Netscript Port.
|
* Get a handle to a Netscript Port.
|
||||||
@ -2640,7 +2703,7 @@ export declare interface NS extends Singularity {
|
|||||||
* @param port - Port number. Must be an integer between 1 and 20.
|
* @param port - Port number. Must be an integer between 1 and 20.
|
||||||
* @returns Data in the specified port.
|
* @returns Data in the specified port.
|
||||||
*/
|
*/
|
||||||
getPortHandle(port: Port): any[];
|
getPortHandle(port: number): any[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes the specified file from the current server. This function works for every file
|
* Removes the specified file from the current server. This function works for every file
|
||||||
@ -2919,20 +2982,6 @@ export declare interface PlayerSkills {
|
|||||||
intelligence: number;
|
intelligence: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Queue used to send and receive messages.
|
|
||||||
* @remarks
|
|
||||||
* A port is implemented as a sort of serialized queue,
|
|
||||||
* where you can only write and read one element at a time from the port.
|
|
||||||
* When you read data from a port, the element that is read is removed from the port.
|
|
||||||
*
|
|
||||||
* IMPORTANT: The data inside ports are not saved!
|
|
||||||
* This means if you close and re-open the game, or reload the page
|
|
||||||
* then you will lose all of the data in the ports!
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
export declare type Port = number;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A single process on a server.
|
* A single process on a server.
|
||||||
* @public
|
* @public
|
||||||
@ -3892,10 +3941,10 @@ export declare interface SourceFileLvl {
|
|||||||
* Return value of {@link TIX.getOrders | getOrders}
|
* Return value of {@link TIX.getOrders | getOrders}
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
export declare type StockOrder = {
|
export declare interface StockOrder {
|
||||||
/** Stock Symbol */
|
/** Stock Symbol */
|
||||||
[key: string]: StockOrderObject[];
|
[key: string]: StockOrderObject[];
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Value in map of {@link StockOrder}
|
* Value in map of {@link StockOrder}
|
||||||
@ -3912,74 +3961,6 @@ export declare interface StockOrderObject {
|
|||||||
position: string;
|
position: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Object representing data representing a gang member task.
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
export declare interface stringStats {
|
|
||||||
/** Task name */
|
|
||||||
name: string;
|
|
||||||
/** Task Description */
|
|
||||||
desc: string;
|
|
||||||
/** Is a task of a hacking gang */
|
|
||||||
isHacking: boolean;
|
|
||||||
/** Is a task of a combat gang */
|
|
||||||
isCombat: boolean;
|
|
||||||
/** Base respect earned */
|
|
||||||
baseRespect: number;
|
|
||||||
/** Base wanted earned */
|
|
||||||
baseWanted: number;
|
|
||||||
/** Base money earned */
|
|
||||||
baseMoney: number;
|
|
||||||
/** Hacking skill impact on task scaling */
|
|
||||||
hackWeight: number;
|
|
||||||
/** Stength skill impact on task scaling */
|
|
||||||
strWeight: number;
|
|
||||||
/** Defense skill impact on task scaling */
|
|
||||||
defWeight: number;
|
|
||||||
/** Dexterity skill impact on task scaling */
|
|
||||||
dexWeight: number;
|
|
||||||
/** Agility skill impact on task scaling */
|
|
||||||
agiWeight: number;
|
|
||||||
/** Charisma skill impact on task scaling */
|
|
||||||
chaWeight: number;
|
|
||||||
/** Number representing the difficulty of the task */
|
|
||||||
difficulty: number;
|
|
||||||
/** Territory impact on task scaling */
|
|
||||||
territory: stringTerritory;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Object representing data representing a gang member equipment.
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
export declare interface stringStats {
|
|
||||||
/** Strength multiplier */
|
|
||||||
str: number;
|
|
||||||
/** Defense multiplier */
|
|
||||||
def: number;
|
|
||||||
/** Dexterity multiplier */
|
|
||||||
dex: number;
|
|
||||||
/** Agility multiplier */
|
|
||||||
agi: number;
|
|
||||||
/** Charisma multiplier */
|
|
||||||
cha: number;
|
|
||||||
/** Hacking multiplier */
|
|
||||||
hack: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
export declare interface stringTerritory {
|
|
||||||
/** Money gain impact on task scaling */
|
|
||||||
money: number;
|
|
||||||
/** Respect gain impact on task scaling */
|
|
||||||
respect: number;
|
|
||||||
/** Wanted gain impact on task scaling */
|
|
||||||
wanted: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stock market API
|
* Stock market API
|
||||||
* @public
|
* @public
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
13
markdown/bitburner.equipmentstats.agi.md
Normal file
13
markdown/bitburner.equipmentstats.agi.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [EquipmentStats](./bitburner.equipmentstats.md) > [agi](./bitburner.equipmentstats.agi.md)
|
||||||
|
|
||||||
|
## EquipmentStats.agi property
|
||||||
|
|
||||||
|
Agility multiplier
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
agi: number;
|
||||||
|
```
|
13
markdown/bitburner.equipmentstats.cha.md
Normal file
13
markdown/bitburner.equipmentstats.cha.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [EquipmentStats](./bitburner.equipmentstats.md) > [cha](./bitburner.equipmentstats.cha.md)
|
||||||
|
|
||||||
|
## EquipmentStats.cha property
|
||||||
|
|
||||||
|
Charisma multiplier
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
cha: number;
|
||||||
|
```
|
13
markdown/bitburner.equipmentstats.def.md
Normal file
13
markdown/bitburner.equipmentstats.def.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [EquipmentStats](./bitburner.equipmentstats.md) > [def](./bitburner.equipmentstats.def.md)
|
||||||
|
|
||||||
|
## EquipmentStats.def property
|
||||||
|
|
||||||
|
Defense multiplier
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
def: number;
|
||||||
|
```
|
13
markdown/bitburner.equipmentstats.dex.md
Normal file
13
markdown/bitburner.equipmentstats.dex.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [EquipmentStats](./bitburner.equipmentstats.md) > [dex](./bitburner.equipmentstats.dex.md)
|
||||||
|
|
||||||
|
## EquipmentStats.dex property
|
||||||
|
|
||||||
|
Dexterity multiplier
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
dex: number;
|
||||||
|
```
|
13
markdown/bitburner.equipmentstats.hack.md
Normal file
13
markdown/bitburner.equipmentstats.hack.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [EquipmentStats](./bitburner.equipmentstats.md) > [hack](./bitburner.equipmentstats.hack.md)
|
||||||
|
|
||||||
|
## EquipmentStats.hack property
|
||||||
|
|
||||||
|
Hacking multiplier
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
hack: number;
|
||||||
|
```
|
25
markdown/bitburner.equipmentstats.md
Normal file
25
markdown/bitburner.equipmentstats.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [EquipmentStats](./bitburner.equipmentstats.md)
|
||||||
|
|
||||||
|
## EquipmentStats interface
|
||||||
|
|
||||||
|
Object representing data representing a gang member equipment.
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
interface EquipmentStats
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
| Property | Type | Description |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| [agi](./bitburner.equipmentstats.agi.md) | number | Agility multiplier |
|
||||||
|
| [cha](./bitburner.equipmentstats.cha.md) | number | Charisma multiplier |
|
||||||
|
| [def](./bitburner.equipmentstats.def.md) | number | Defense multiplier |
|
||||||
|
| [dex](./bitburner.equipmentstats.dex.md) | number | Dexterity multiplier |
|
||||||
|
| [hack](./bitburner.equipmentstats.hack.md) | number | Hacking multiplier |
|
||||||
|
| [str](./bitburner.equipmentstats.str.md) | number | Strength multiplier |
|
||||||
|
|
13
markdown/bitburner.equipmentstats.str.md
Normal file
13
markdown/bitburner.equipmentstats.str.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [EquipmentStats](./bitburner.equipmentstats.md) > [str](./bitburner.equipmentstats.str.md)
|
||||||
|
|
||||||
|
## EquipmentStats.str property
|
||||||
|
|
||||||
|
Strength multiplier
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
str: number;
|
||||||
|
```
|
@ -9,7 +9,7 @@ Get stats of an equipment.
|
|||||||
<b>Signature:</b>
|
<b>Signature:</b>
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
getEquipmentStats(equipName: string): stringStats;
|
getEquipmentStats(equipName: string): EquipmentStats;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
@ -20,7 +20,7 @@ getEquipmentStats(equipName: string): stringStats;
|
|||||||
|
|
||||||
<b>Returns:</b>
|
<b>Returns:</b>
|
||||||
|
|
||||||
[stringStats](./bitburner.stringstats.md)
|
[EquipmentStats](./bitburner.equipmentstats.md)
|
||||||
|
|
||||||
A dictionary containing the stats of the equipment.
|
A dictionary containing the stats of the equipment.
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ Get stats of a task.
|
|||||||
<b>Signature:</b>
|
<b>Signature:</b>
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
getTaskStats(name: string): stringStats;
|
getTaskStats(name: string): GangTaskStats;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
@ -20,7 +20,7 @@ getTaskStats(name: string): stringStats;
|
|||||||
|
|
||||||
<b>Returns:</b>
|
<b>Returns:</b>
|
||||||
|
|
||||||
[stringStats](./bitburner.stringstats.md)
|
[GangTaskStats](./bitburner.gangtaskstats.md)
|
||||||
|
|
||||||
Detailed stats of a task.
|
Detailed stats of a task.
|
||||||
|
|
||||||
|
@ -2,15 +2,11 @@
|
|||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfo](./bitburner.gangotherinfo.md)
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfo](./bitburner.gangotherinfo.md)
|
||||||
|
|
||||||
## GangOtherInfo type
|
## GangOtherInfo interface
|
||||||
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
<b>Signature:</b>
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
type GangOtherInfo = {
|
interface GangOtherInfo
|
||||||
[key: string]: GangOtherInfoObject[];
|
|
||||||
};
|
|
||||||
```
|
```
|
||||||
<b>References:</b> [GangOtherInfoObject](./bitburner.gangotherinfoobject.md)
|
|
||||||
|
|
||||||
|
13
markdown/bitburner.gangtaskstats.agiweight.md
Normal file
13
markdown/bitburner.gangtaskstats.agiweight.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [agiWeight](./bitburner.gangtaskstats.agiweight.md)
|
||||||
|
|
||||||
|
## GangTaskStats.agiWeight property
|
||||||
|
|
||||||
|
Agility skill impact on task scaling
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
agiWeight: number;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.basemoney.md
Normal file
13
markdown/bitburner.gangtaskstats.basemoney.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [baseMoney](./bitburner.gangtaskstats.basemoney.md)
|
||||||
|
|
||||||
|
## GangTaskStats.baseMoney property
|
||||||
|
|
||||||
|
Base money earned
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
baseMoney: number;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.baserespect.md
Normal file
13
markdown/bitburner.gangtaskstats.baserespect.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [baseRespect](./bitburner.gangtaskstats.baserespect.md)
|
||||||
|
|
||||||
|
## GangTaskStats.baseRespect property
|
||||||
|
|
||||||
|
Base respect earned
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
baseRespect: number;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.basewanted.md
Normal file
13
markdown/bitburner.gangtaskstats.basewanted.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [baseWanted](./bitburner.gangtaskstats.basewanted.md)
|
||||||
|
|
||||||
|
## GangTaskStats.baseWanted property
|
||||||
|
|
||||||
|
Base wanted earned
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
baseWanted: number;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.chaweight.md
Normal file
13
markdown/bitburner.gangtaskstats.chaweight.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [chaWeight](./bitburner.gangtaskstats.chaweight.md)
|
||||||
|
|
||||||
|
## GangTaskStats.chaWeight property
|
||||||
|
|
||||||
|
Charisma skill impact on task scaling
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
chaWeight: number;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.defweight.md
Normal file
13
markdown/bitburner.gangtaskstats.defweight.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [defWeight](./bitburner.gangtaskstats.defweight.md)
|
||||||
|
|
||||||
|
## GangTaskStats.defWeight property
|
||||||
|
|
||||||
|
Defense skill impact on task scaling
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
defWeight: number;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.desc.md
Normal file
13
markdown/bitburner.gangtaskstats.desc.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [desc](./bitburner.gangtaskstats.desc.md)
|
||||||
|
|
||||||
|
## GangTaskStats.desc property
|
||||||
|
|
||||||
|
Task Description
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
desc: string;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.dexweight.md
Normal file
13
markdown/bitburner.gangtaskstats.dexweight.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [dexWeight](./bitburner.gangtaskstats.dexweight.md)
|
||||||
|
|
||||||
|
## GangTaskStats.dexWeight property
|
||||||
|
|
||||||
|
Dexterity skill impact on task scaling
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
dexWeight: number;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.difficulty.md
Normal file
13
markdown/bitburner.gangtaskstats.difficulty.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [difficulty](./bitburner.gangtaskstats.difficulty.md)
|
||||||
|
|
||||||
|
## GangTaskStats.difficulty property
|
||||||
|
|
||||||
|
Number representing the difficulty of the task
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
difficulty: number;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.hackweight.md
Normal file
13
markdown/bitburner.gangtaskstats.hackweight.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [hackWeight](./bitburner.gangtaskstats.hackweight.md)
|
||||||
|
|
||||||
|
## GangTaskStats.hackWeight property
|
||||||
|
|
||||||
|
Hacking skill impact on task scaling
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
hackWeight: number;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.iscombat.md
Normal file
13
markdown/bitburner.gangtaskstats.iscombat.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [isCombat](./bitburner.gangtaskstats.iscombat.md)
|
||||||
|
|
||||||
|
## GangTaskStats.isCombat property
|
||||||
|
|
||||||
|
Is a task of a combat gang
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
isCombat: boolean;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.ishacking.md
Normal file
13
markdown/bitburner.gangtaskstats.ishacking.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [isHacking](./bitburner.gangtaskstats.ishacking.md)
|
||||||
|
|
||||||
|
## GangTaskStats.isHacking property
|
||||||
|
|
||||||
|
Is a task of a hacking gang
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
isHacking: boolean;
|
||||||
|
```
|
34
markdown/bitburner.gangtaskstats.md
Normal file
34
markdown/bitburner.gangtaskstats.md
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md)
|
||||||
|
|
||||||
|
## GangTaskStats interface
|
||||||
|
|
||||||
|
Object representing data representing a gang member task.
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
interface GangTaskStats
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
| Property | Type | Description |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| [agiWeight](./bitburner.gangtaskstats.agiweight.md) | number | Agility skill impact on task scaling |
|
||||||
|
| [baseMoney](./bitburner.gangtaskstats.basemoney.md) | number | Base money earned |
|
||||||
|
| [baseRespect](./bitburner.gangtaskstats.baserespect.md) | number | Base respect earned |
|
||||||
|
| [baseWanted](./bitburner.gangtaskstats.basewanted.md) | number | Base wanted earned |
|
||||||
|
| [chaWeight](./bitburner.gangtaskstats.chaweight.md) | number | Charisma skill impact on task scaling |
|
||||||
|
| [defWeight](./bitburner.gangtaskstats.defweight.md) | number | Defense skill impact on task scaling |
|
||||||
|
| [desc](./bitburner.gangtaskstats.desc.md) | string | Task Description |
|
||||||
|
| [dexWeight](./bitburner.gangtaskstats.dexweight.md) | number | Dexterity skill impact on task scaling |
|
||||||
|
| [difficulty](./bitburner.gangtaskstats.difficulty.md) | number | Number representing the difficulty of the task |
|
||||||
|
| [hackWeight](./bitburner.gangtaskstats.hackweight.md) | number | Hacking skill impact on task scaling |
|
||||||
|
| [isCombat](./bitburner.gangtaskstats.iscombat.md) | boolean | Is a task of a combat gang |
|
||||||
|
| [isHacking](./bitburner.gangtaskstats.ishacking.md) | boolean | Is a task of a hacking gang |
|
||||||
|
| [name](./bitburner.gangtaskstats.name.md) | string | Task name |
|
||||||
|
| [strWeight](./bitburner.gangtaskstats.strweight.md) | number | Stength skill impact on task scaling |
|
||||||
|
| [territory](./bitburner.gangtaskstats.territory.md) | [GangTerritory](./bitburner.gangterritory.md) | Territory impact on task scaling |
|
||||||
|
|
13
markdown/bitburner.gangtaskstats.name.md
Normal file
13
markdown/bitburner.gangtaskstats.name.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [name](./bitburner.gangtaskstats.name.md)
|
||||||
|
|
||||||
|
## GangTaskStats.name property
|
||||||
|
|
||||||
|
Task name
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
name: string;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.strweight.md
Normal file
13
markdown/bitburner.gangtaskstats.strweight.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [strWeight](./bitburner.gangtaskstats.strweight.md)
|
||||||
|
|
||||||
|
## GangTaskStats.strWeight property
|
||||||
|
|
||||||
|
Stength skill impact on task scaling
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
strWeight: number;
|
||||||
|
```
|
13
markdown/bitburner.gangtaskstats.territory.md
Normal file
13
markdown/bitburner.gangtaskstats.territory.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTaskStats](./bitburner.gangtaskstats.md) > [territory](./bitburner.gangtaskstats.territory.md)
|
||||||
|
|
||||||
|
## GangTaskStats.territory property
|
||||||
|
|
||||||
|
Territory impact on task scaling
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
territory: GangTerritory;
|
||||||
|
```
|
21
markdown/bitburner.gangterritory.md
Normal file
21
markdown/bitburner.gangterritory.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTerritory](./bitburner.gangterritory.md)
|
||||||
|
|
||||||
|
## GangTerritory interface
|
||||||
|
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
interface GangTerritory
|
||||||
|
```
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
| Property | Type | Description |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| [money](./bitburner.gangterritory.money.md) | number | Money gain impact on task scaling |
|
||||||
|
| [respect](./bitburner.gangterritory.respect.md) | number | Respect gain impact on task scaling |
|
||||||
|
| [wanted](./bitburner.gangterritory.wanted.md) | number | Wanted gain impact on task scaling |
|
||||||
|
|
13
markdown/bitburner.gangterritory.money.md
Normal file
13
markdown/bitburner.gangterritory.money.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTerritory](./bitburner.gangterritory.md) > [money](./bitburner.gangterritory.money.md)
|
||||||
|
|
||||||
|
## GangTerritory.money property
|
||||||
|
|
||||||
|
Money gain impact on task scaling
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
money: number;
|
||||||
|
```
|
13
markdown/bitburner.gangterritory.respect.md
Normal file
13
markdown/bitburner.gangterritory.respect.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTerritory](./bitburner.gangterritory.md) > [respect](./bitburner.gangterritory.respect.md)
|
||||||
|
|
||||||
|
## GangTerritory.respect property
|
||||||
|
|
||||||
|
Respect gain impact on task scaling
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
respect: number;
|
||||||
|
```
|
13
markdown/bitburner.gangterritory.wanted.md
Normal file
13
markdown/bitburner.gangterritory.wanted.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||||||
|
|
||||||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [GangTerritory](./bitburner.gangterritory.md) > [wanted](./bitburner.gangterritory.wanted.md)
|
||||||
|
|
||||||
|
## GangTerritory.wanted property
|
||||||
|
|
||||||
|
Wanted gain impact on task scaling
|
||||||
|
|
||||||
|
<b>Signature:</b>
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
wanted: number;
|
||||||
|
```
|
@ -1,14 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [Handle](./bitburner.handle.md)
|
|
||||||
|
|
||||||
## Handle type
|
|
||||||
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
type Handle = string | Port;
|
|
||||||
```
|
|
||||||
<b>References:</b> [Port](./bitburner.port.md)
|
|
||||||
|
|
@ -19,11 +19,15 @@
|
|||||||
| [CodingAttemptOptions](./bitburner.codingattemptoptions.md) | Options to affect the behavior of [CodingContract](./bitburner.codingcontract.md) attempt. |
|
| [CodingAttemptOptions](./bitburner.codingattemptoptions.md) | Options to affect the behavior of [CodingContract](./bitburner.codingcontract.md) attempt. |
|
||||||
| [CodingContract](./bitburner.codingcontract.md) | Coding Contact API |
|
| [CodingContract](./bitburner.codingcontract.md) | Coding Contact API |
|
||||||
| [CrimeStats](./bitburner.crimestats.md) | Data representing the internal values of a crime. |
|
| [CrimeStats](./bitburner.crimestats.md) | Data representing the internal values of a crime. |
|
||||||
|
| [EquipmentStats](./bitburner.equipmentstats.md) | Object representing data representing a gang member equipment. |
|
||||||
| [Gang](./bitburner.gang.md) | Gang API |
|
| [Gang](./bitburner.gang.md) | Gang API |
|
||||||
| [GangGenInfo](./bitburner.ganggeninfo.md) | Gang general info. |
|
| [GangGenInfo](./bitburner.ganggeninfo.md) | Gang general info. |
|
||||||
| [GangMemberAscension](./bitburner.gangmemberascension.md) | |
|
| [GangMemberAscension](./bitburner.gangmemberascension.md) | |
|
||||||
| [GangMemberInfo](./bitburner.gangmemberinfo.md) | |
|
| [GangMemberInfo](./bitburner.gangmemberinfo.md) | |
|
||||||
|
| [GangOtherInfo](./bitburner.gangotherinfo.md) | |
|
||||||
| [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | |
|
| [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | |
|
||||||
|
| [GangTaskStats](./bitburner.gangtaskstats.md) | Object representing data representing a gang member task. |
|
||||||
|
| [GangTerritory](./bitburner.gangterritory.md) | |
|
||||||
| [HackingMultipliers](./bitburner.hackingmultipliers.md) | Hack related multipliers. |
|
| [HackingMultipliers](./bitburner.hackingmultipliers.md) | Hack related multipliers. |
|
||||||
| [Hacknet](./bitburner.hacknet.md) | Hacknet API |
|
| [Hacknet](./bitburner.hacknet.md) | Hacknet API |
|
||||||
| [HacknetMultipliers](./bitburner.hacknetmultipliers.md) | Hacknet related multipliers. |
|
| [HacknetMultipliers](./bitburner.hacknetmultipliers.md) | Hacknet related multipliers. |
|
||||||
@ -39,17 +43,7 @@
|
|||||||
| [SleeveTask](./bitburner.sleevetask.md) | Object representing a sleeve current task. |
|
| [SleeveTask](./bitburner.sleevetask.md) | Object representing a sleeve current task. |
|
||||||
| [SleeveWorkGains](./bitburner.sleeveworkgains.md) | |
|
| [SleeveWorkGains](./bitburner.sleeveworkgains.md) | |
|
||||||
| [SourceFileLvl](./bitburner.sourcefilelvl.md) | |
|
| [SourceFileLvl](./bitburner.sourcefilelvl.md) | |
|
||||||
|
| [StockOrder](./bitburner.stockorder.md) | Return value of [getOrders](./bitburner.tix.getorders.md) |
|
||||||
| [StockOrderObject](./bitburner.stockorderobject.md) | Value in map of [StockOrder](./bitburner.stockorder.md) |
|
| [StockOrderObject](./bitburner.stockorderobject.md) | Value in map of [StockOrder](./bitburner.stockorder.md) |
|
||||||
| [stringStats](./bitburner.stringstats.md) | Object representing data representing a gang member task. |
|
|
||||||
| [stringTerritory](./bitburner.stringterritory.md) | |
|
|
||||||
| [TIX](./bitburner.tix.md) | Stock market API |
|
| [TIX](./bitburner.tix.md) | Stock market API |
|
||||||
|
|
||||||
## Type Aliases
|
|
||||||
|
|
||||||
| Type Alias | Description |
|
|
||||||
| --- | --- |
|
|
||||||
| [GangOtherInfo](./bitburner.gangotherinfo.md) | |
|
|
||||||
| [Handle](./bitburner.handle.md) | |
|
|
||||||
| [Port](./bitburner.port.md) | Queue used to send and receive messages. |
|
|
||||||
| [StockOrder](./bitburner.stockorder.md) | Return value of [getOrders](./bitburner.tix.getorders.md) |
|
|
||||||
|
|
||||||
|
@ -13,14 +13,14 @@ If the port/fn argument is a string, then it specifies the name of a text file (
|
|||||||
<b>Signature:</b>
|
<b>Signature:</b>
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
clear(handle: Handle): void;
|
clear(handle: string | number): void;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
| Parameter | Type | Description |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| handle | [Handle](./bitburner.handle.md) | Port or text file to clear. |
|
| handle | string \| number | Port or text file to clear. |
|
||||||
|
|
||||||
<b>Returns:</b>
|
<b>Returns:</b>
|
||||||
|
|
||||||
|
@ -11,14 +11,14 @@ WARNING: Port Handles only work in NetscriptJS (Netscript 2.0). They will not wo
|
|||||||
<b>Signature:</b>
|
<b>Signature:</b>
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
getPortHandle(port: Port): any[];
|
getPortHandle(port: number): any[];
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
| Parameter | Type | Description |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| port | [Port](./bitburner.port.md) | Port number. Must be an integer between 1 and 20. |
|
| port | number | Port number. Must be an integer between 1 and 20. |
|
||||||
|
|
||||||
<b>Returns:</b>
|
<b>Returns:</b>
|
||||||
|
|
||||||
|
@ -9,14 +9,14 @@ This function is used to peek at the data from a port. It returns the first elem
|
|||||||
<b>Signature:</b>
|
<b>Signature:</b>
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
peek(port: Port): string | number | object;
|
peek(port: number): string | number | object;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
| Parameter | Type | Description |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| port | [Port](./bitburner.port.md) | Port to peek. Must be an integer between 1 and 20. |
|
| port | number | Port to peek. Must be an integer between 1 and 20. |
|
||||||
|
|
||||||
<b>Returns:</b>
|
<b>Returns:</b>
|
||||||
|
|
||||||
|
@ -13,14 +13,14 @@ If the argument port/fn is a string, then it specifies the name of a text file (
|
|||||||
<b>Signature:</b>
|
<b>Signature:</b>
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
read(handle: Handle): string | number | object;
|
read(handle: string | number): string | number | object;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
| Parameter | Type | Description |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| handle | [Handle](./bitburner.handle.md) | Port or text file to read from. |
|
| handle | string \| number | Port or text file to read from. |
|
||||||
|
|
||||||
<b>Returns:</b>
|
<b>Returns:</b>
|
||||||
|
|
||||||
|
@ -9,14 +9,14 @@ Attempts to write data to the specified Netscript Port. If the port is full, the
|
|||||||
<b>Signature:</b>
|
<b>Signature:</b>
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
tryWrite(port: Handle, data: string[] | number): boolean;
|
tryWrite(port: number, data: string[] | number): boolean;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
| Parameter | Type | Description |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| port | [Handle](./bitburner.handle.md) | Port or text file that will be written to. |
|
| port | number | Port or text file that will be written to. |
|
||||||
| data | string\[\] \| number | Data to write. |
|
| data | string\[\] \| number | Data to write. |
|
||||||
|
|
||||||
<b>Returns:</b>
|
<b>Returns:</b>
|
||||||
|
@ -13,14 +13,14 @@ If the first argument is a string, then it specifies the name of a text file (.t
|
|||||||
<b>Signature:</b>
|
<b>Signature:</b>
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
write(handle: Handle, data?: string[] | number, mode?: "w" | "a"): void;
|
write(handle: string | number, data?: string[] | number, mode?: "w" | "a"): void;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
|
||||||
| Parameter | Type | Description |
|
| Parameter | Type | Description |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| handle | [Handle](./bitburner.handle.md) | Port or text file that will be written to. |
|
| handle | string \| number | Port or text file that will be written to. |
|
||||||
| data | string\[\] \| number | Data to write. |
|
| data | string\[\] \| number | Data to write. |
|
||||||
| mode | "w" \| "a" | Defines the write mode. Only valid when writing to text files. |
|
| mode | "w" \| "a" | Defines the write mode. Only valid when writing to text files. |
|
||||||
|
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [Port](./bitburner.port.md)
|
|
||||||
|
|
||||||
## Port type
|
|
||||||
|
|
||||||
Queue used to send and receive messages.
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
type Port = number;
|
|
||||||
```
|
|
||||||
|
|
||||||
## Remarks
|
|
||||||
|
|
||||||
A port is implemented as a sort of serialized queue, where you can only write and read one element at a time from the port. When you read data from a port, the element that is read is removed from the port.
|
|
||||||
|
|
||||||
IMPORTANT: The data inside ports are not saved! This means if you close and re-open the game, or reload the page then you will lose all of the data in the ports!
|
|
||||||
|
|
@ -2,16 +2,12 @@
|
|||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [StockOrder](./bitburner.stockorder.md)
|
[Home](./index.md) > [bitburner](./bitburner.md) > [StockOrder](./bitburner.stockorder.md)
|
||||||
|
|
||||||
## StockOrder type
|
## StockOrder interface
|
||||||
|
|
||||||
Return value of [getOrders](./bitburner.tix.getorders.md)
|
Return value of [getOrders](./bitburner.tix.getorders.md)
|
||||||
|
|
||||||
<b>Signature:</b>
|
<b>Signature:</b>
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
type StockOrder = {
|
interface StockOrder
|
||||||
[key: string]: StockOrderObject[];
|
|
||||||
};
|
|
||||||
```
|
```
|
||||||
<b>References:</b> [StockOrderObject](./bitburner.stockorderobject.md)
|
|
||||||
|
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [agi](./bitburner.stringstats.agi.md)
|
|
||||||
|
|
||||||
## stringStats.agi property
|
|
||||||
|
|
||||||
Agility multiplier
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
agi: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [agiWeight](./bitburner.stringstats.agiweight.md)
|
|
||||||
|
|
||||||
## stringStats.agiWeight property
|
|
||||||
|
|
||||||
Agility skill impact on task scaling
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
agiWeight: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [baseMoney](./bitburner.stringstats.basemoney.md)
|
|
||||||
|
|
||||||
## stringStats.baseMoney property
|
|
||||||
|
|
||||||
Base money earned
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
baseMoney: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [baseRespect](./bitburner.stringstats.baserespect.md)
|
|
||||||
|
|
||||||
## stringStats.baseRespect property
|
|
||||||
|
|
||||||
Base respect earned
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
baseRespect: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [baseWanted](./bitburner.stringstats.basewanted.md)
|
|
||||||
|
|
||||||
## stringStats.baseWanted property
|
|
||||||
|
|
||||||
Base wanted earned
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
baseWanted: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [cha](./bitburner.stringstats.cha.md)
|
|
||||||
|
|
||||||
## stringStats.cha property
|
|
||||||
|
|
||||||
Charisma multiplier
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
cha: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [chaWeight](./bitburner.stringstats.chaweight.md)
|
|
||||||
|
|
||||||
## stringStats.chaWeight property
|
|
||||||
|
|
||||||
Charisma skill impact on task scaling
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
chaWeight: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [def](./bitburner.stringstats.def.md)
|
|
||||||
|
|
||||||
## stringStats.def property
|
|
||||||
|
|
||||||
Defense multiplier
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
def: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [defWeight](./bitburner.stringstats.defweight.md)
|
|
||||||
|
|
||||||
## stringStats.defWeight property
|
|
||||||
|
|
||||||
Defense skill impact on task scaling
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
defWeight: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [desc](./bitburner.stringstats.desc.md)
|
|
||||||
|
|
||||||
## stringStats.desc property
|
|
||||||
|
|
||||||
Task Description
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
desc: string;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [dex](./bitburner.stringstats.dex.md)
|
|
||||||
|
|
||||||
## stringStats.dex property
|
|
||||||
|
|
||||||
Dexterity multiplier
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
dex: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [dexWeight](./bitburner.stringstats.dexweight.md)
|
|
||||||
|
|
||||||
## stringStats.dexWeight property
|
|
||||||
|
|
||||||
Dexterity skill impact on task scaling
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
dexWeight: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [difficulty](./bitburner.stringstats.difficulty.md)
|
|
||||||
|
|
||||||
## stringStats.difficulty property
|
|
||||||
|
|
||||||
Number representing the difficulty of the task
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
difficulty: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [hack](./bitburner.stringstats.hack.md)
|
|
||||||
|
|
||||||
## stringStats.hack property
|
|
||||||
|
|
||||||
Hacking multiplier
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
hack: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [hackWeight](./bitburner.stringstats.hackweight.md)
|
|
||||||
|
|
||||||
## stringStats.hackWeight property
|
|
||||||
|
|
||||||
Hacking skill impact on task scaling
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
hackWeight: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [isCombat](./bitburner.stringstats.iscombat.md)
|
|
||||||
|
|
||||||
## stringStats.isCombat property
|
|
||||||
|
|
||||||
Is a task of a combat gang
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
isCombat: boolean;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [isHacking](./bitburner.stringstats.ishacking.md)
|
|
||||||
|
|
||||||
## stringStats.isHacking property
|
|
||||||
|
|
||||||
Is a task of a hacking gang
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
isHacking: boolean;
|
|
||||||
```
|
|
@ -1,40 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md)
|
|
||||||
|
|
||||||
## stringStats interface
|
|
||||||
|
|
||||||
Object representing data representing a gang member task.
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
interface stringStats
|
|
||||||
```
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
| Property | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| [agi](./bitburner.stringstats.agi.md) | number | Agility multiplier |
|
|
||||||
| [agiWeight](./bitburner.stringstats.agiweight.md) | number | Agility skill impact on task scaling |
|
|
||||||
| [baseMoney](./bitburner.stringstats.basemoney.md) | number | Base money earned |
|
|
||||||
| [baseRespect](./bitburner.stringstats.baserespect.md) | number | Base respect earned |
|
|
||||||
| [baseWanted](./bitburner.stringstats.basewanted.md) | number | Base wanted earned |
|
|
||||||
| [cha](./bitburner.stringstats.cha.md) | number | Charisma multiplier |
|
|
||||||
| [chaWeight](./bitburner.stringstats.chaweight.md) | number | Charisma skill impact on task scaling |
|
|
||||||
| [def](./bitburner.stringstats.def.md) | number | Defense multiplier |
|
|
||||||
| [defWeight](./bitburner.stringstats.defweight.md) | number | Defense skill impact on task scaling |
|
|
||||||
| [desc](./bitburner.stringstats.desc.md) | string | Task Description |
|
|
||||||
| [dex](./bitburner.stringstats.dex.md) | number | Dexterity multiplier |
|
|
||||||
| [dexWeight](./bitburner.stringstats.dexweight.md) | number | Dexterity skill impact on task scaling |
|
|
||||||
| [difficulty](./bitburner.stringstats.difficulty.md) | number | Number representing the difficulty of the task |
|
|
||||||
| [hack](./bitburner.stringstats.hack.md) | number | Hacking multiplier |
|
|
||||||
| [hackWeight](./bitburner.stringstats.hackweight.md) | number | Hacking skill impact on task scaling |
|
|
||||||
| [isCombat](./bitburner.stringstats.iscombat.md) | boolean | Is a task of a combat gang |
|
|
||||||
| [isHacking](./bitburner.stringstats.ishacking.md) | boolean | Is a task of a hacking gang |
|
|
||||||
| [name](./bitburner.stringstats.name.md) | string | Task name |
|
|
||||||
| [str](./bitburner.stringstats.str.md) | number | Strength multiplier |
|
|
||||||
| [strWeight](./bitburner.stringstats.strweight.md) | number | Stength skill impact on task scaling |
|
|
||||||
| [territory](./bitburner.stringstats.territory.md) | [stringTerritory](./bitburner.stringterritory.md) | Territory impact on task scaling |
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [name](./bitburner.stringstats.name.md)
|
|
||||||
|
|
||||||
## stringStats.name property
|
|
||||||
|
|
||||||
Task name
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
name: string;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [str](./bitburner.stringstats.str.md)
|
|
||||||
|
|
||||||
## stringStats.str property
|
|
||||||
|
|
||||||
Strength multiplier
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
str: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [strWeight](./bitburner.stringstats.strweight.md)
|
|
||||||
|
|
||||||
## stringStats.strWeight property
|
|
||||||
|
|
||||||
Stength skill impact on task scaling
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
strWeight: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringStats](./bitburner.stringstats.md) > [territory](./bitburner.stringstats.territory.md)
|
|
||||||
|
|
||||||
## stringStats.territory property
|
|
||||||
|
|
||||||
Territory impact on task scaling
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
territory: stringTerritory;
|
|
||||||
```
|
|
@ -1,21 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringTerritory](./bitburner.stringterritory.md)
|
|
||||||
|
|
||||||
## stringTerritory interface
|
|
||||||
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
interface stringTerritory
|
|
||||||
```
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
| Property | Type | Description |
|
|
||||||
| --- | --- | --- |
|
|
||||||
| [money](./bitburner.stringterritory.money.md) | number | Money gain impact on task scaling |
|
|
||||||
| [respect](./bitburner.stringterritory.respect.md) | number | Respect gain impact on task scaling |
|
|
||||||
| [wanted](./bitburner.stringterritory.wanted.md) | number | Wanted gain impact on task scaling |
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringTerritory](./bitburner.stringterritory.md) > [money](./bitburner.stringterritory.money.md)
|
|
||||||
|
|
||||||
## stringTerritory.money property
|
|
||||||
|
|
||||||
Money gain impact on task scaling
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
money: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringTerritory](./bitburner.stringterritory.md) > [respect](./bitburner.stringterritory.respect.md)
|
|
||||||
|
|
||||||
## stringTerritory.respect property
|
|
||||||
|
|
||||||
Respect gain impact on task scaling
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
respect: number;
|
|
||||||
```
|
|
@ -1,13 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [stringTerritory](./bitburner.stringterritory.md) > [wanted](./bitburner.stringterritory.wanted.md)
|
|
||||||
|
|
||||||
## stringTerritory.wanted property
|
|
||||||
|
|
||||||
Wanted gain impact on task scaling
|
|
||||||
|
|
||||||
<b>Signature:</b>
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
wanted: number;
|
|
||||||
```
|
|
50
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
50
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -162,10 +162,10 @@ interface StockOrderObject {
|
|||||||
* Return value of {@link TIX.getOrders | getOrders}
|
* Return value of {@link TIX.getOrders | getOrders}
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
type StockOrder = {
|
interface StockOrder {
|
||||||
/** Stock Symbol */
|
/** Stock Symbol */
|
||||||
[key: string]: StockOrderObject[];
|
[key: string]: StockOrderObject[];
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A single process on a server.
|
* A single process on a server.
|
||||||
@ -347,24 +347,6 @@ interface BitNodeMultipliers {
|
|||||||
/** Influences how quickly the player's strength level (not exp) scales */
|
/** Influences how quickly the player's strength level (not exp) scales */
|
||||||
StrengthLevelMultiplier: number;
|
StrengthLevelMultiplier: number;
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* Queue used to send and receive messages.
|
|
||||||
* @remarks
|
|
||||||
* A port is implemented as a sort of serialized queue,
|
|
||||||
* where you can only write and read one element at a time from the port.
|
|
||||||
* When you read data from a port, the element that is read is removed from the port.
|
|
||||||
*
|
|
||||||
* IMPORTANT: The data inside ports are not saved!
|
|
||||||
* This means if you close and re-open the game, or reload the page
|
|
||||||
* then you will lose all of the data in the ports!
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
type Port = number;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
type Handle = string | Port;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Object representing all the values related to a hacknet node.
|
* Object representing all the values related to a hacknet node.
|
||||||
@ -571,16 +553,16 @@ interface GangOtherInfoObject {
|
|||||||
/**
|
/**
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
type GangOtherInfo = {
|
interface GangOtherInfo {
|
||||||
/** Stock Symbol */
|
/** Stock Symbol */
|
||||||
[key: string]: GangOtherInfoObject[];
|
[key: string]: GangOtherInfoObject[];
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Object representing data representing a gang member task.
|
* Object representing data representing a gang member task.
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
interface stringStats {
|
interface GangTaskStats {
|
||||||
/** Task name */
|
/** Task name */
|
||||||
name: string;
|
name: string;
|
||||||
/** Task Description */
|
/** Task Description */
|
||||||
@ -610,14 +592,14 @@ interface stringStats {
|
|||||||
/** Number representing the difficulty of the task */
|
/** Number representing the difficulty of the task */
|
||||||
difficulty: number;
|
difficulty: number;
|
||||||
/** Territory impact on task scaling */
|
/** Territory impact on task scaling */
|
||||||
territory: stringTerritory;
|
territory: GangTerritory;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Object representing data representing a gang member equipment.
|
* Object representing data representing a gang member equipment.
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
interface stringStats {
|
interface EquipmentStats {
|
||||||
/** Strength multiplier */
|
/** Strength multiplier */
|
||||||
str: number;
|
str: number;
|
||||||
/** Defense multiplier */
|
/** Defense multiplier */
|
||||||
@ -635,7 +617,7 @@ interface stringStats {
|
|||||||
/**
|
/**
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
interface stringTerritory {
|
interface GangTerritory {
|
||||||
/** Money gain impact on task scaling */
|
/** Money gain impact on task scaling */
|
||||||
money: number;
|
money: number;
|
||||||
/** Respect gain impact on task scaling */
|
/** Respect gain impact on task scaling */
|
||||||
@ -2658,7 +2640,7 @@ interface Gang {
|
|||||||
* @param name - Name of the task.
|
* @param name - Name of the task.
|
||||||
* @returns Detailed stats of a task.
|
* @returns Detailed stats of a task.
|
||||||
*/
|
*/
|
||||||
getTaskStats(name: string): stringStats;
|
getTaskStats(name: string): GangTaskStats;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List equipment names.
|
* List equipment names.
|
||||||
@ -2707,7 +2689,7 @@ interface Gang {
|
|||||||
* @param equipName - Name of equipment.
|
* @param equipName - Name of equipment.
|
||||||
* @returns A dictionary containing the stats of the equipment.
|
* @returns A dictionary containing the stats of the equipment.
|
||||||
*/
|
*/
|
||||||
getEquipmentStats(equipName: string): stringStats;
|
getEquipmentStats(equipName: string): EquipmentStats;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Purchase an equipment for a gang member.
|
* Purchase an equipment for a gang member.
|
||||||
@ -4003,7 +3985,7 @@ export interface NS extends Singularity {
|
|||||||
* @param data - Data to write.
|
* @param data - Data to write.
|
||||||
* @param mode - Defines the write mode. Only valid when writing to text files.
|
* @param mode - Defines the write mode. Only valid when writing to text files.
|
||||||
*/
|
*/
|
||||||
write(handle: Handle, data?: string[] | number, mode?: "w" | "a"): void;
|
write(handle: string | number, data?: string[] | number, mode?: "w" | "a"): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attempts to write data to the specified Netscript Port.
|
* Attempts to write data to the specified Netscript Port.
|
||||||
@ -4015,7 +3997,7 @@ export interface NS extends Singularity {
|
|||||||
* @param data - Data to write.
|
* @param data - Data to write.
|
||||||
* @returns True if the data is successfully written to the port, and false otherwise.
|
* @returns True if the data is successfully written to the port, and false otherwise.
|
||||||
*/
|
*/
|
||||||
tryWrite(port: Handle, data: string[] | number): boolean;
|
tryWrite(port: number, data: string[] | number): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is used to read data from a port or from a text file (.txt).
|
* This function is used to read data from a port or from a text file (.txt).
|
||||||
@ -4033,7 +4015,7 @@ export interface NS extends Singularity {
|
|||||||
* @param handle - Port or text file to read from.
|
* @param handle - Port or text file to read from.
|
||||||
* @returns Data in the specified text file or port.
|
* @returns Data in the specified text file or port.
|
||||||
*/
|
*/
|
||||||
read(handle: Handle): string | number | object;
|
read(handle: string | number): string | number | object;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is used to peek at the data from a port. It returns the
|
* This function is used to peek at the data from a port. It returns the
|
||||||
@ -4044,7 +4026,7 @@ export interface NS extends Singularity {
|
|||||||
* @param port - Port to peek. Must be an integer between 1 and 20.
|
* @param port - Port to peek. Must be an integer between 1 and 20.
|
||||||
* @returns Data in the specified port.
|
* @returns Data in the specified port.
|
||||||
*/
|
*/
|
||||||
peek(port: Port): string | number | object;
|
peek(port: number): string | number | object;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is used to clear data in a Netscript Ports or a text file.
|
* This function is used to clear data in a Netscript Ports or a text file.
|
||||||
@ -4058,7 +4040,7 @@ export interface NS extends Singularity {
|
|||||||
* @remarks RAM cost: 1 GB
|
* @remarks RAM cost: 1 GB
|
||||||
* @param handle - Port or text file to clear.
|
* @param handle - Port or text file to clear.
|
||||||
*/
|
*/
|
||||||
clear(handle: Handle): void;
|
clear(handle: string | number): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a handle to a Netscript Port.
|
* Get a handle to a Netscript Port.
|
||||||
@ -4070,7 +4052,7 @@ export interface NS extends Singularity {
|
|||||||
* @param port - Port number. Must be an integer between 1 and 20.
|
* @param port - Port number. Must be an integer between 1 and 20.
|
||||||
* @returns Data in the specified port.
|
* @returns Data in the specified port.
|
||||||
*/
|
*/
|
||||||
getPortHandle(port: Port): any[];
|
getPortHandle(port: number): any[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes the specified file from the current server. This function works for every file
|
* Removes the specified file from the current server. This function works for every file
|
||||||
|
Loading…
Reference in New Issue
Block a user