API: Add a way to get the list of all factions (#1457)

This commit is contained in:
catloversg
2025-01-29 01:40:11 +07:00
committed by GitHub
parent ffae0045a4
commit 2965f51879
16 changed files with 295 additions and 14 deletions

View File

@@ -9,7 +9,7 @@ Get the type of a coding contract.
**Signature:**
```typescript
getContractType(filename: string, host?: string): string;
getContractType(filename: string, host?: string): `${CodingContractName}`;
```
## Parameters
@@ -21,7 +21,7 @@ getContractType(filename: string, host?: string): string;
**Returns:**
string
\`${[CodingContractName](./bitburner.codingcontractname.md)<!-- -->}\`
Name describing the type of problem posed by the Coding Contract.