SINGULARITY: Add ns.singularity.getFactionWorkTypes (#1425)

This commit is contained in:
catloversg
2024-06-25 10:43:36 +07:00
committed by GitHub
parent 0d8cc54c99
commit 5a8f0e99af
5 changed files with 68 additions and 2 deletions
@@ -0,0 +1,32 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Singularity](./bitburner.singularity.md) &gt; [getFactionWorkTypes](./bitburner.singularity.getfactionworktypes.md)
## Singularity.getFactionWorkTypes() method
Get the work types of a faction.
**Signature:**
```typescript
getFactionWorkTypes(faction: string): FactionWorkType[];
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| faction | string | Name of the faction. |
**Returns:**
[FactionWorkType](./bitburner.factionworktype.md)<!-- -->\[\]
The work types of the faction.
## Remarks
RAM cost: 1 GB \* 16/4/1
This function returns an array containing the work types of the specified faction.