mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 07:02:26 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
33 lines
698 B
Markdown
33 lines
698 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [joinFaction](./bitburner.singularity.joinfaction.md)
|
|
|
|
## Singularity.joinFaction() method
|
|
|
|
Join a faction.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
joinFaction(faction: string): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| faction | string | Name of faction to join. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
boolean
|
|
|
|
True if player joined the faction, and false otherwise.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 3 GB \* 16/4/1
|
|
|
|
This function will automatically accept an invitation from a faction and join it.
|
|
|