mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-09-19 20:38:42 +02:00
33 lines
777 B
Markdown
33 lines
777 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [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.
|
|
|