work on making the netscript api tighter

This commit is contained in:
Olivier Gagnon 2021-11-03 20:19:52 -04:00
parent c5fb5155f3
commit 14150d3e33
270 changed files with 11011 additions and 1273 deletions

818
dist/bitburner.d.ts vendored

File diff suppressed because it is too large Load Diff

26
dist/vendor.bundle.js vendored

File diff suppressed because one or more lines are too long

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

@ -9,7 +9,7 @@ Get estimate success chance of an action.
<b>Signature:</b>
```typescript
getActionEstimatedSuccessChance(type: string, name: string): number;
getActionEstimatedSuccessChance(type: string, name: string): [number, number];
```
## Parameters
@ -21,7 +21,7 @@ getActionEstimatedSuccessChance(type: string, name: string): number;
<b>Returns:</b>
number
\[number, number\]
Estimated success chance for the specified action.

@ -9,7 +9,7 @@ Attemps a coding contract.
<b>Signature:</b>
```typescript
attempt(answer: string[] | number, fn: string, host?: string): boolean;
attempt(answer: string[] | number, fn: string, host?: string, opts?: CodingAttemptOptions): boolean | string;
```
## Parameters
@ -19,12 +19,13 @@ attempt(answer: string[] | number, fn: string, host?: string): boolean;
| answer | string\[\] \| number | Solution for the contract. |
| fn | string | Filename of the contract. |
| host | string | Host of the server containing the contract. Optional. Defaults to current server if not provided. |
| opts | [CodingAttemptOptions](./bitburner.codingattemptoptions.md) | Optional parameters for configuring function behavior. |
<b>Returns:</b>
boolean
boolean \| string
True if the solution was correct, false otherwise.
True if the solution was correct, false otherwise. If the returnReward option is configured, then the function will instead return a string. If the contract is successfully solved, the string will contain a description of the contracts reward. Otherwise, it will be an empty string.
## Remarks

@ -1,35 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [CodingContract](./bitburner.codingcontract.md) &gt; [attempt](./bitburner.codingcontract.attempt_1.md)
## CodingContract.attempt() method
Attemps a coding contract.
<b>Signature:</b>
```typescript
attempt(answer: string[] | number, fn: string, host?: string, opts?: CodingAttemptOptions): boolean | string;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| answer | string\[\] \| number | Solution for the contract. |
| fn | string | Filename of the contract. |
| host | string | Host of the server containing the contract. Optional. Defaults to current server if not provided. |
| opts | [CodingAttemptOptions](./bitburner.codingattemptoptions.md) | Optional parameters for configuring function behavior. |
<b>Returns:</b>
boolean \| string
True if the solution was correct, false otherwise. If the returnReward option is configured, then the function will instead return a string. If the contract is successfully solved, the string will contain a description of the contracts reward. Otherwise, it will be an empty string.
## Remarks
RAM cost: 10 GB
Attempts to solve the Coding Contract with the provided solution.

@ -16,8 +16,7 @@ export interface CodingContract
| Method | Description |
| --- | --- |
| [attempt(answer, fn, host)](./bitburner.codingcontract.attempt.md) | Attemps a coding contract. |
| [attempt(answer, fn, host, opts)](./bitburner.codingcontract.attempt_1.md) | Attemps a coding contract. |
| [attempt(answer, fn, host, opts)](./bitburner.codingcontract.attempt.md) | Attemps a coding contract. |
| [getContractType(fn, host)](./bitburner.codingcontract.getcontracttype.md) | Get the type of a coding contract. |
| [getData(fn, host)](./bitburner.codingcontract.getdata.md) | Get the input data. |
| [getDescription(fn, host)](./bitburner.codingcontract.getdescription.md) | Get the description. |

@ -9,5 +9,5 @@ Agility multiplier
<b>Signature:</b>
```typescript
agi: number;
agi?: number;
```

@ -9,5 +9,5 @@ Charisma multiplier
<b>Signature:</b>
```typescript
cha: number;
cha?: number;
```

@ -9,5 +9,5 @@ Defense multiplier
<b>Signature:</b>
```typescript
def: number;
def?: number;
```

@ -9,5 +9,5 @@ Dexterity multiplier
<b>Signature:</b>
```typescript
dex: number;
dex?: number;
```

@ -9,5 +9,5 @@ Hacking multiplier
<b>Signature:</b>
```typescript
hack: number;
hack?: number;
```

@ -16,10 +16,10 @@ export interface EquipmentStats
| 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 |
| [agi?](./bitburner.equipmentstats.agi.md) | number | <i>(Optional)</i> Agility multiplier |
| [cha?](./bitburner.equipmentstats.cha.md) | number | <i>(Optional)</i> Charisma multiplier |
| [def?](./bitburner.equipmentstats.def.md) | number | <i>(Optional)</i> Defense multiplier |
| [dex?](./bitburner.equipmentstats.dex.md) | number | <i>(Optional)</i> Dexterity multiplier |
| [hack?](./bitburner.equipmentstats.hack.md) | number | <i>(Optional)</i> Hacking multiplier |
| [str?](./bitburner.equipmentstats.str.md) | number | <i>(Optional)</i> Strength multiplier |

@ -9,5 +9,5 @@ Strength multiplier
<b>Signature:</b>
```typescript
str: number;
str?: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Formulas](./bitburner.formulas.md) &gt; [hacking](./bitburner.formulas.hacking.md)
## Formulas.hacking property
<b>Signature:</b>
```typescript
hacking: HackingFormulas;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Formulas](./bitburner.formulas.md) &gt; [hacknetNodes](./bitburner.formulas.hacknetnodes.md)
## Formulas.hacknetNodes property
<b>Signature:</b>
```typescript
hacknetNodes: HacknetNodesFormulas;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Formulas](./bitburner.formulas.md) &gt; [hacknetServers](./bitburner.formulas.hacknetservers.md)
## Formulas.hacknetServers property
<b>Signature:</b>
```typescript
hacknetServers: HacknetServersFormulas;
```

@ -0,0 +1,22 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Formulas](./bitburner.formulas.md)
## Formulas interface
<b>Signature:</b>
```typescript
export interface Formulas
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [hacking](./bitburner.formulas.hacking.md) | [HackingFormulas](./bitburner.hackingformulas.md) | |
| [hacknetNodes](./bitburner.formulas.hacknetnodes.md) | [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) | |
| [hacknetServers](./bitburner.formulas.hacknetservers.md) | [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) | |
| [skills](./bitburner.formulas.skills.md) | [SkillsFormulas](./bitburner.skillsformulas.md) | |

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Formulas](./bitburner.formulas.md) &gt; [skills](./bitburner.formulas.skills.md)
## Formulas.skills property
<b>Signature:</b>
```typescript
skills: SkillsFormulas;
```

@ -9,7 +9,7 @@ Ascend a gang member.
<b>Signature:</b>
```typescript
ascendMember(memberName: string): GangMemberAscension;
ascendMember(memberName: string): GangMemberAscension | undefined;
```
## Parameters
@ -20,9 +20,9 @@ ascendMember(memberName: string): GangMemberAscension;
<b>Returns:</b>
[GangMemberAscension](./bitburner.gangmemberascension.md)
[GangMemberAscension](./bitburner.gangmemberascension.md) \| undefined
Object with info about the ascension results.
Object with info about the ascension results. undefined if ascension did not occur.
## Remarks

@ -24,6 +24,7 @@ export interface GangGenInfo
| [respectGainRate](./bitburner.ganggeninfo.respectgainrate.md) | number | Respect earned per second |
| [territory](./bitburner.ganggeninfo.territory.md) | number | Amount of territory held. Returned in decimal form, not percentage |
| [territoryClashChance](./bitburner.ganggeninfo.territoryclashchance.md) | number | Clash chance. Returned in decimal form, not percentage |
| [territoryWarfareEngaged](./bitburner.ganggeninfo.territorywarfareengaged.md) | boolean | Boolean indicating if territory warfare is enabled. |
| [wantedLevel](./bitburner.ganggeninfo.wantedlevel.md) | number | Gang's wanted level |
| [wantedLevelGainRate](./bitburner.ganggeninfo.wantedlevelgainrate.md) | number | Wanted level gained/lost per second (negative for losses) |

@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangGenInfo](./bitburner.ganggeninfo.md) &gt; [territoryWarfareEngaged](./bitburner.ganggeninfo.territorywarfareengaged.md)
## GangGenInfo.territoryWarfareEngaged property
Boolean indicating if territory warfare is enabled.
<b>Signature:</b>
```typescript
territoryWarfareEngaged: boolean;
```

@ -1,13 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [agility](./bitburner.gangmemberinfo.agility.md)
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [agi](./bitburner.gangmemberinfo.agi.md)
## GangMemberInfo.agility property
Agility stat
## GangMemberInfo.agi property
<b>Signature:</b>
```typescript
agility: number;
agi: number;
```

@ -1,13 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [dexterity](./bitburner.gangmemberinfo.dexterity.md)
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [agi\_asc\_mult](./bitburner.gangmemberinfo.agi_asc_mult.md)
## GangMemberInfo.dexterity property
Dexterity stat
## GangMemberInfo.agi\_asc\_mult property
<b>Signature:</b>
```typescript
dexterity: number;
agi_asc_mult: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [agi\_asc\_points](./bitburner.gangmemberinfo.agi_asc_points.md)
## GangMemberInfo.agi\_asc\_points property
<b>Signature:</b>
```typescript
agi_asc_points: number;
```

@ -1,13 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [defense](./bitburner.gangmemberinfo.defense.md)
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [agi\_exp](./bitburner.gangmemberinfo.agi_exp.md)
## GangMemberInfo.defense property
Defense stat
## GangMemberInfo.agi\_exp property
<b>Signature:</b>
```typescript
defense: number;
agi_exp: number;
```

@ -1,13 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [hacking](./bitburner.gangmemberinfo.hacking.md)
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [agi\_mult](./bitburner.gangmemberinfo.agi_mult.md)
## GangMemberInfo.hacking property
Hacking stat
## GangMemberInfo.agi\_mult property
<b>Signature:</b>
```typescript
hacking: number;
agi_mult: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [agilityAscensionMult](./bitburner.gangmemberinfo.agilityascensionmult.md)
## GangMemberInfo.agilityAscensionMult property
Agility multiplier from ascension.
<b>Signature:</b>
```typescript
agilityAscensionMult: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [agilityEquipMult](./bitburner.gangmemberinfo.agilityequipmult.md)
## GangMemberInfo.agilityEquipMult property
Agility multiplier from equipment.
<b>Signature:</b>
```typescript
agilityEquipMult: number;
```

@ -4,8 +4,6 @@
## GangMemberInfo.augmentations property
Array of names of all owned Augmentations
<b>Signature:</b>
```typescript

@ -1,13 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [charisma](./bitburner.gangmemberinfo.charisma.md)
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [cha](./bitburner.gangmemberinfo.cha.md)
## GangMemberInfo.charisma property
Charisma stat
## GangMemberInfo.cha property
<b>Signature:</b>
```typescript
charisma: number;
cha: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [cha\_asc\_mult](./bitburner.gangmemberinfo.cha_asc_mult.md)
## GangMemberInfo.cha\_asc\_mult property
<b>Signature:</b>
```typescript
cha_asc_mult: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [cha\_asc\_points](./bitburner.gangmemberinfo.cha_asc_points.md)
## GangMemberInfo.cha\_asc\_points property
<b>Signature:</b>
```typescript
cha_asc_points: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [cha\_exp](./bitburner.gangmemberinfo.cha_exp.md)
## GangMemberInfo.cha\_exp property
<b>Signature:</b>
```typescript
cha_exp: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [cha\_mult](./bitburner.gangmemberinfo.cha_mult.md)
## GangMemberInfo.cha\_mult property
<b>Signature:</b>
```typescript
cha_mult: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [charismaAscensionMult](./bitburner.gangmemberinfo.charismaascensionmult.md)
## GangMemberInfo.charismaAscensionMult property
Charisma multiplier from ascension.
<b>Signature:</b>
```typescript
charismaAscensionMult: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [charismaEquipMult](./bitburner.gangmemberinfo.charismaequipmult.md)
## GangMemberInfo.charismaEquipMult property
Charisma multiplier from equipment.
<b>Signature:</b>
```typescript
charismaEquipMult: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [def](./bitburner.gangmemberinfo.def.md)
## GangMemberInfo.def property
<b>Signature:</b>
```typescript
def: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [def\_asc\_mult](./bitburner.gangmemberinfo.def_asc_mult.md)
## GangMemberInfo.def\_asc\_mult property
<b>Signature:</b>
```typescript
def_asc_mult: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [def\_asc\_points](./bitburner.gangmemberinfo.def_asc_points.md)
## GangMemberInfo.def\_asc\_points property
<b>Signature:</b>
```typescript
def_asc_points: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [def\_exp](./bitburner.gangmemberinfo.def_exp.md)
## GangMemberInfo.def\_exp property
<b>Signature:</b>
```typescript
def_exp: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [def\_mult](./bitburner.gangmemberinfo.def_mult.md)
## GangMemberInfo.def\_mult property
<b>Signature:</b>
```typescript
def_mult: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [defenseAscensionMult](./bitburner.gangmemberinfo.defenseascensionmult.md)
## GangMemberInfo.defenseAscensionMult property
Defense multiplier from ascension.
<b>Signature:</b>
```typescript
defenseAscensionMult: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [defenseEquipMult](./bitburner.gangmemberinfo.defenseequipmult.md)
## GangMemberInfo.defenseEquipMult property
Defense multiplier from equipment.
<b>Signature:</b>
```typescript
defenseEquipMult: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [dex](./bitburner.gangmemberinfo.dex.md)
## GangMemberInfo.dex property
<b>Signature:</b>
```typescript
dex: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [dex\_asc\_mult](./bitburner.gangmemberinfo.dex_asc_mult.md)
## GangMemberInfo.dex\_asc\_mult property
<b>Signature:</b>
```typescript
dex_asc_mult: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [dex\_asc\_points](./bitburner.gangmemberinfo.dex_asc_points.md)
## GangMemberInfo.dex\_asc\_points property
<b>Signature:</b>
```typescript
dex_asc_points: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [dex\_exp](./bitburner.gangmemberinfo.dex_exp.md)
## GangMemberInfo.dex\_exp property
<b>Signature:</b>
```typescript
dex_exp: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [dex\_mult](./bitburner.gangmemberinfo.dex_mult.md)
## GangMemberInfo.dex\_mult property
<b>Signature:</b>
```typescript
dex_mult: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [dexterityAscensionMult](./bitburner.gangmemberinfo.dexterityascensionmult.md)
## GangMemberInfo.dexterityAscensionMult property
Dexterity multiplier from ascension.
<b>Signature:</b>
```typescript
dexterityAscensionMult: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [dexterityEquipMult](./bitburner.gangmemberinfo.dexterityequipmult.md)
## GangMemberInfo.dexterityEquipMult property
Dexterity multiplier from equipment.
<b>Signature:</b>
```typescript
dexterityEquipMult: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [earnedRespect](./bitburner.gangmemberinfo.earnedrespect.md)
## GangMemberInfo.earnedRespect property
<b>Signature:</b>
```typescript
earnedRespect: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [equipment](./bitburner.gangmemberinfo.equipment.md)
## GangMemberInfo.equipment property
Array of names of all owned Non-Augmentation Equipment
<b>Signature:</b>
```typescript
equipment: string[];
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [hack](./bitburner.gangmemberinfo.hack.md)
## GangMemberInfo.hack property
<b>Signature:</b>
```typescript
hack: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [hack\_asc\_mult](./bitburner.gangmemberinfo.hack_asc_mult.md)
## GangMemberInfo.hack\_asc\_mult property
<b>Signature:</b>
```typescript
hack_asc_mult: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [hack\_asc\_points](./bitburner.gangmemberinfo.hack_asc_points.md)
## GangMemberInfo.hack\_asc\_points property
<b>Signature:</b>
```typescript
hack_asc_points: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [hack\_exp](./bitburner.gangmemberinfo.hack_exp.md)
## GangMemberInfo.hack\_exp property
<b>Signature:</b>
```typescript
hack_exp: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [hack\_mult](./bitburner.gangmemberinfo.hack_mult.md)
## GangMemberInfo.hack\_mult property
<b>Signature:</b>
```typescript
hack_mult: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [hackingAscensionMult](./bitburner.gangmemberinfo.hackingascensionmult.md)
## GangMemberInfo.hackingAscensionMult property
Hacking multiplier from ascension.
<b>Signature:</b>
```typescript
hackingAscensionMult: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [hackingEquipMult](./bitburner.gangmemberinfo.hackingequipmult.md)
## GangMemberInfo.hackingEquipMult property
Hacking multiplier from equipment.
<b>Signature:</b>
```typescript
hackingEquipMult: number;
```

@ -15,25 +15,39 @@ export interface GangMemberInfo
| Property | Type | Description |
| --- | --- | --- |
| [agility](./bitburner.gangmemberinfo.agility.md) | number | Agility stat |
| [agilityAscensionMult](./bitburner.gangmemberinfo.agilityascensionmult.md) | number | Agility multiplier from ascension. |
| [agilityEquipMult](./bitburner.gangmemberinfo.agilityequipmult.md) | number | Agility multiplier from equipment. |
| [augmentations](./bitburner.gangmemberinfo.augmentations.md) | string\[\] | Array of names of all owned Augmentations |
| [charisma](./bitburner.gangmemberinfo.charisma.md) | number | Charisma stat |
| [charismaAscensionMult](./bitburner.gangmemberinfo.charismaascensionmult.md) | number | Charisma multiplier from ascension. |
| [charismaEquipMult](./bitburner.gangmemberinfo.charismaequipmult.md) | number | Charisma multiplier from equipment. |
| [defense](./bitburner.gangmemberinfo.defense.md) | number | Defense stat |
| [defenseAscensionMult](./bitburner.gangmemberinfo.defenseascensionmult.md) | number | Defense multiplier from ascension. |
| [defenseEquipMult](./bitburner.gangmemberinfo.defenseequipmult.md) | number | Defense multiplier from equipment. |
| [dexterity](./bitburner.gangmemberinfo.dexterity.md) | number | Dexterity stat |
| [dexterityAscensionMult](./bitburner.gangmemberinfo.dexterityascensionmult.md) | number | Dexterity multiplier from ascension. |
| [dexterityEquipMult](./bitburner.gangmemberinfo.dexterityequipmult.md) | number | Dexterity multiplier from equipment. |
| [equipment](./bitburner.gangmemberinfo.equipment.md) | string\[\] | Array of names of all owned Non-Augmentation Equipment |
| [hacking](./bitburner.gangmemberinfo.hacking.md) | number | Hacking stat |
| [hackingAscensionMult](./bitburner.gangmemberinfo.hackingascensionmult.md) | number | Hacking multiplier from ascension. |
| [hackingEquipMult](./bitburner.gangmemberinfo.hackingequipmult.md) | number | Hacking multiplier from equipment. |
| [strength](./bitburner.gangmemberinfo.strength.md) | number | Strength stat |
| [strengthAscensionMult](./bitburner.gangmemberinfo.strengthascensionmult.md) | number | Strength multiplier from ascension. |
| [strengthEquipMult](./bitburner.gangmemberinfo.strengthequipmult.md) | number | Strength multiplier from equipment. |
| [task](./bitburner.gangmemberinfo.task.md) | string | Name of currently assigned task |
| [agi\_asc\_mult](./bitburner.gangmemberinfo.agi_asc_mult.md) | number | |
| [agi\_asc\_points](./bitburner.gangmemberinfo.agi_asc_points.md) | number | |
| [agi\_exp](./bitburner.gangmemberinfo.agi_exp.md) | number | |
| [agi\_mult](./bitburner.gangmemberinfo.agi_mult.md) | number | |
| [agi](./bitburner.gangmemberinfo.agi.md) | number | |
| [augmentations](./bitburner.gangmemberinfo.augmentations.md) | string\[\] | |
| [cha\_asc\_mult](./bitburner.gangmemberinfo.cha_asc_mult.md) | number | |
| [cha\_asc\_points](./bitburner.gangmemberinfo.cha_asc_points.md) | number | |
| [cha\_exp](./bitburner.gangmemberinfo.cha_exp.md) | number | |
| [cha\_mult](./bitburner.gangmemberinfo.cha_mult.md) | number | |
| [cha](./bitburner.gangmemberinfo.cha.md) | number | |
| [def\_asc\_mult](./bitburner.gangmemberinfo.def_asc_mult.md) | number | |
| [def\_asc\_points](./bitburner.gangmemberinfo.def_asc_points.md) | number | |
| [def\_exp](./bitburner.gangmemberinfo.def_exp.md) | number | |
| [def\_mult](./bitburner.gangmemberinfo.def_mult.md) | number | |
| [def](./bitburner.gangmemberinfo.def.md) | number | |
| [dex\_asc\_mult](./bitburner.gangmemberinfo.dex_asc_mult.md) | number | |
| [dex\_asc\_points](./bitburner.gangmemberinfo.dex_asc_points.md) | number | |
| [dex\_exp](./bitburner.gangmemberinfo.dex_exp.md) | number | |
| [dex\_mult](./bitburner.gangmemberinfo.dex_mult.md) | number | |
| [dex](./bitburner.gangmemberinfo.dex.md) | number | |
| [earnedRespect](./bitburner.gangmemberinfo.earnedrespect.md) | number | |
| [hack\_asc\_mult](./bitburner.gangmemberinfo.hack_asc_mult.md) | number | |
| [hack\_asc\_points](./bitburner.gangmemberinfo.hack_asc_points.md) | number | |
| [hack\_exp](./bitburner.gangmemberinfo.hack_exp.md) | number | |
| [hack\_mult](./bitburner.gangmemberinfo.hack_mult.md) | number | |
| [hack](./bitburner.gangmemberinfo.hack.md) | number | |
| [name](./bitburner.gangmemberinfo.name.md) | string | |
| [str\_asc\_mult](./bitburner.gangmemberinfo.str_asc_mult.md) | number | |
| [str\_asc\_points](./bitburner.gangmemberinfo.str_asc_points.md) | number | |
| [str\_exp](./bitburner.gangmemberinfo.str_exp.md) | number | |
| [str\_mult](./bitburner.gangmemberinfo.str_mult.md) | number | |
| [str](./bitburner.gangmemberinfo.str.md) | number | |
| [task](./bitburner.gangmemberinfo.task.md) | string | |
| [upgrades](./bitburner.gangmemberinfo.upgrades.md) | string\[\] | |

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [name](./bitburner.gangmemberinfo.name.md)
## GangMemberInfo.name property
<b>Signature:</b>
```typescript
name: string;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [str](./bitburner.gangmemberinfo.str.md)
## GangMemberInfo.str property
<b>Signature:</b>
```typescript
str: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [str\_asc\_mult](./bitburner.gangmemberinfo.str_asc_mult.md)
## GangMemberInfo.str\_asc\_mult property
<b>Signature:</b>
```typescript
str_asc_mult: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [str\_asc\_points](./bitburner.gangmemberinfo.str_asc_points.md)
## GangMemberInfo.str\_asc\_points property
<b>Signature:</b>
```typescript
str_asc_points: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [str\_exp](./bitburner.gangmemberinfo.str_exp.md)
## GangMemberInfo.str\_exp property
<b>Signature:</b>
```typescript
str_exp: number;
```

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [str\_mult](./bitburner.gangmemberinfo.str_mult.md)
## GangMemberInfo.str\_mult property
<b>Signature:</b>
```typescript
str_mult: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [strength](./bitburner.gangmemberinfo.strength.md)
## GangMemberInfo.strength property
Strength stat
<b>Signature:</b>
```typescript
strength: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [strengthAscensionMult](./bitburner.gangmemberinfo.strengthascensionmult.md)
## GangMemberInfo.strengthAscensionMult property
Strength multiplier from ascension.
<b>Signature:</b>
```typescript
strengthAscensionMult: number;
```

@ -1,13 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [strengthEquipMult](./bitburner.gangmemberinfo.strengthequipmult.md)
## GangMemberInfo.strengthEquipMult property
Strength multiplier from equipment.
<b>Signature:</b>
```typescript
strengthEquipMult: number;
```

@ -4,8 +4,6 @@
## GangMemberInfo.task property
Name of currently assigned task
<b>Signature:</b>
```typescript

@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [GangMemberInfo](./bitburner.gangmemberinfo.md) &gt; [upgrades](./bitburner.gangmemberinfo.upgrades.md)
## GangMemberInfo.upgrades property
<b>Signature:</b>
```typescript
upgrades: string[];
```

@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HackingFormulas](./bitburner.hackingformulas.md) &gt; [growPercent](./bitburner.hackingformulas.growpercent.md)
## HackingFormulas.growPercent() method
<b>Signature:</b>
```typescript
growPercent(server: number, threads: number, player: number, cores?: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| server | number | |
| threads | number | |
| player | number | |
| cores | number | |
<b>Returns:</b>
number

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HackingFormulas](./bitburner.hackingformulas.md) &gt; [growTime](./bitburner.hackingformulas.growtime.md)
## HackingFormulas.growTime() method
<b>Signature:</b>
```typescript
growTime(server: number, player: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| server | number | |
| player | number | |
<b>Returns:</b>
number

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HackingFormulas](./bitburner.hackingformulas.md) &gt; [hackChance](./bitburner.hackingformulas.hackchance.md)
## HackingFormulas.hackChance() method
<b>Signature:</b>
```typescript
hackChance(server: number, player: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| server | number | |
| player | number | |
<b>Returns:</b>
number

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HackingFormulas](./bitburner.hackingformulas.md) &gt; [hackExp](./bitburner.hackingformulas.hackexp.md)
## HackingFormulas.hackExp() method
<b>Signature:</b>
```typescript
hackExp(server: number, player: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| server | number | |
| player | number | |
<b>Returns:</b>
number

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HackingFormulas](./bitburner.hackingformulas.md) &gt; [hackPercent](./bitburner.hackingformulas.hackpercent.md)
## HackingFormulas.hackPercent() method
<b>Signature:</b>
```typescript
hackPercent(server: number, player: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| server | number | |
| player | number | |
<b>Returns:</b>
number

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HackingFormulas](./bitburner.hackingformulas.md) &gt; [hackTime](./bitburner.hackingformulas.hacktime.md)
## HackingFormulas.hackTime() method
<b>Signature:</b>
```typescript
hackTime(server: number, player: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| server | number | |
| player | number | |
<b>Returns:</b>
number

@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HackingFormulas](./bitburner.hackingformulas.md)
## HackingFormulas interface
<b>Signature:</b>
```typescript
interface HackingFormulas
```
## Methods
| Method | Description |
| --- | --- |
| [growPercent(server, threads, player, cores)](./bitburner.hackingformulas.growpercent.md) | |
| [growTime(server, player)](./bitburner.hackingformulas.growtime.md) | |
| [hackChance(server, player)](./bitburner.hackingformulas.hackchance.md) | |
| [hackExp(server, player)](./bitburner.hackingformulas.hackexp.md) | |
| [hackPercent(server, player)](./bitburner.hackingformulas.hackpercent.md) | |
| [hackTime(server, player)](./bitburner.hackingformulas.hacktime.md) | |
| [weakenTime(server, player)](./bitburner.hackingformulas.weakentime.md) | |

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HackingFormulas](./bitburner.hackingformulas.md) &gt; [weakenTime](./bitburner.hackingformulas.weakentime.md)
## HackingFormulas.weakenTime() method
<b>Signature:</b>
```typescript
weakenTime(server: number, player: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| server | number | |
| player | number | |
<b>Returns:</b>
number

@ -0,0 +1,32 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Hacknet](./bitburner.hacknet.md) &gt; [getHashUpgradeLevel](./bitburner.hacknet.gethashupgradelevel.md)
## Hacknet.getHashUpgradeLevel() method
Get the level of a hash upgrade.
<b>Signature:</b>
```typescript
getHashUpgradeLevel(upgName: string): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| upgName | string | |
<b>Returns:</b>
number
Level of the upgrade.
## Remarks
RAM cost: 0 GB
This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).

@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Hacknet](./bitburner.hacknet.md) &gt; [getStudyMult](./bitburner.hacknet.getstudymult.md)
## Hacknet.getStudyMult() method
Get the multipler to study.
<b>Signature:</b>
```typescript
getStudyMult(): number;
```
<b>Returns:</b>
number
Multiplier.
## Remarks
RAM cost: 0 GB
This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).

@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Hacknet](./bitburner.hacknet.md) &gt; [getTrainingMult](./bitburner.hacknet.gettrainingmult.md)
## Hacknet.getTrainingMult() method
Get the multipler to training.
<b>Signature:</b>
```typescript
getTrainingMult(): number;
```
<b>Returns:</b>
number
Multiplier.
## Remarks
RAM cost: 0 GB
This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).

@ -0,0 +1,27 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Hacknet](./bitburner.hacknet.md) &gt; [hashCapacity](./bitburner.hacknet.hashcapacity.md)
## Hacknet.hashCapacity() method
Get the maximum number of hashes you can store.
<b>Signature:</b>
```typescript
hashCapacity(): number;
```
<b>Returns:</b>
number
Number of hashes you can store.
## Remarks
RAM cost: 0 GB
This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).
Returns the number of hashes you can store.

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Hacknet](./bitburner.hacknet.md) &gt; [maxNumNodes](./bitburner.hacknet.maxnumnodes.md)
## Hacknet.maxNumNodes() method
Get the maximum number of hacknet nodes.
<b>Signature:</b>
```typescript
maxNumNodes(): number;
```
<b>Returns:</b>
number
maximum number of hacknet nodes.
## Remarks
RAM cost: 0 GB

@ -22,11 +22,16 @@ Not all these functions are immediately available.
| --- | --- |
| [getCacheUpgradeCost(index, n)](./bitburner.hacknet.getcacheupgradecost.md) | Calculate the cost of upgrading hacknet node cache. |
| [getCoreUpgradeCost(index, n)](./bitburner.hacknet.getcoreupgradecost.md) | Calculate the cost of upgrading hacknet node cores. |
| [getHashUpgradeLevel(upgName)](./bitburner.hacknet.gethashupgradelevel.md) | Get the level of a hash upgrade. |
| [getLevelUpgradeCost(index, n)](./bitburner.hacknet.getlevelupgradecost.md) | Calculate the cost of upgrading hacknet node levels. |
| [getNodeStats(index)](./bitburner.hacknet.getnodestats.md) | Get the stats of a hacknet node. |
| [getPurchaseNodeCost()](./bitburner.hacknet.getpurchasenodecost.md) | Get the price of the next hacknet node. |
| [getRamUpgradeCost(index, n)](./bitburner.hacknet.getramupgradecost.md) | Calculate the cost of upgrading hacknet node RAM. |
| [getStudyMult()](./bitburner.hacknet.getstudymult.md) | Get the multipler to study. |
| [getTrainingMult()](./bitburner.hacknet.gettrainingmult.md) | Get the multipler to training. |
| [hashCapacity()](./bitburner.hacknet.hashcapacity.md) | Get the maximum number of hashes you can store. |
| [hashCost(upgName)](./bitburner.hacknet.hashcost.md) | Get the cost of a hash upgrade. |
| [maxNumNodes()](./bitburner.hacknet.maxnumnodes.md) | Get the maximum number of hacknet nodes. |
| [numHashes()](./bitburner.hacknet.numhashes.md) | Get the total number of hashes stored. |
| [numNodes()](./bitburner.hacknet.numnodes.md) | Get the number of hacknet nodes you own. |
| [purchaseNode()](./bitburner.hacknet.purchasenode.md) | Purchase a new hacknet node. |

@ -0,0 +1,15 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) &gt; [constants](./bitburner.hacknetnodesformulas.constants.md)
## HacknetNodesFormulas.constants() method
<b>Signature:</b>
```typescript
constants(): number;
```
<b>Returns:</b>
number

@ -0,0 +1,24 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) &gt; [coreUpgradeCost](./bitburner.hacknetnodesformulas.coreupgradecost.md)
## HacknetNodesFormulas.coreUpgradeCost() method
<b>Signature:</b>
```typescript
coreUpgradeCost(startingCore: number, extraCores?: number, costMult?: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| startingCore | number | |
| extraCores | number | |
| costMult | number | |
<b>Returns:</b>
number

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) &gt; [hacknetNodeCost](./bitburner.hacknetnodesformulas.hacknetnodecost.md)
## HacknetNodesFormulas.hacknetNodeCost() method
<b>Signature:</b>
```typescript
hacknetNodeCost(n: number, mult: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| n | number | |
| mult | number | |
<b>Returns:</b>
number

@ -0,0 +1,24 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) &gt; [levelUpgradeCost](./bitburner.hacknetnodesformulas.levelupgradecost.md)
## HacknetNodesFormulas.levelUpgradeCost() method
<b>Signature:</b>
```typescript
levelUpgradeCost(startingLevel: number, extraLevels?: number, costMult?: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| startingLevel | number | |
| extraLevels | number | |
| costMult | number | |
<b>Returns:</b>
number

@ -0,0 +1,24 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md)
## HacknetNodesFormulas interface
<b>Signature:</b>
```typescript
interface HacknetNodesFormulas
```
## Methods
| Method | Description |
| --- | --- |
| [constants()](./bitburner.hacknetnodesformulas.constants.md) | |
| [coreUpgradeCost(startingCore, extraCores, costMult)](./bitburner.hacknetnodesformulas.coreupgradecost.md) | |
| [hacknetNodeCost(n, mult)](./bitburner.hacknetnodesformulas.hacknetnodecost.md) | |
| [levelUpgradeCost(startingLevel, extraLevels, costMult)](./bitburner.hacknetnodesformulas.levelupgradecost.md) | |
| [moneyGainRate(level, ram, cores, mult)](./bitburner.hacknetnodesformulas.moneygainrate.md) | |
| [ramUpgradeCost(startingRam, extraLevels, costMult)](./bitburner.hacknetnodesformulas.ramupgradecost.md) | |

@ -0,0 +1,25 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) &gt; [moneyGainRate](./bitburner.hacknetnodesformulas.moneygainrate.md)
## HacknetNodesFormulas.moneyGainRate() method
<b>Signature:</b>
```typescript
moneyGainRate(level: number, ram: number, cores: number, mult?: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| level | number | |
| ram | number | |
| cores | number | |
| mult | number | |
<b>Returns:</b>
number

@ -0,0 +1,24 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) &gt; [ramUpgradeCost](./bitburner.hacknetnodesformulas.ramupgradecost.md)
## HacknetNodesFormulas.ramUpgradeCost() method
<b>Signature:</b>
```typescript
ramUpgradeCost(startingRam: number, extraLevels?: number, costMult?: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| startingRam | number | |
| extraLevels | number | |
| costMult | number | |
<b>Returns:</b>
number

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) &gt; [cacheUpgradeCost](./bitburner.hacknetserversformulas.cacheupgradecost.md)
## HacknetServersFormulas.cacheUpgradeCost() method
<b>Signature:</b>
```typescript
cacheUpgradeCost(startingCache: number, extraCache?: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| startingCache | number | |
| extraCache | number | |
<b>Returns:</b>
number

@ -0,0 +1,15 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) &gt; [constants](./bitburner.hacknetserversformulas.constants.md)
## HacknetServersFormulas.constants() method
<b>Signature:</b>
```typescript
constants(): any;
```
<b>Returns:</b>
any

@ -0,0 +1,24 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) &gt; [coreUpgradeCost](./bitburner.hacknetserversformulas.coreupgradecost.md)
## HacknetServersFormulas.coreUpgradeCost() method
<b>Signature:</b>
```typescript
coreUpgradeCost(startingCore: number, extraCores?: number, costMult?: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| startingCore | number | |
| extraCores | number | |
| costMult | number | |
<b>Returns:</b>
number

@ -0,0 +1,23 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) &gt; [hacknetServerCost](./bitburner.hacknetserversformulas.hacknetservercost.md)
## HacknetServersFormulas.hacknetServerCost() method
<b>Signature:</b>
```typescript
hacknetServerCost(n: number, mult: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| n | number | |
| mult | number | |
<b>Returns:</b>
number

@ -0,0 +1,26 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) &gt; [hashGainRate](./bitburner.hacknetserversformulas.hashgainrate.md)
## HacknetServersFormulas.hashGainRate() method
<b>Signature:</b>
```typescript
hashGainRate(level: number, ramUsed: number, maxRam: number, cores: number, mult?: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| level | number | |
| ramUsed | number | |
| maxRam | number | |
| cores | number | |
| mult | number | |
<b>Returns:</b>
number

Some files were not shown because too many files have changed in this diff Show More