mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
35 lines
762 B
Markdown
35 lines
762 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [recruitMember](./bitburner.gang.recruitmember.md)
|
|
|
|
## Gang.recruitMember() method
|
|
|
|
Recruit a new gang member.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
recruitMember(name: string): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| name | string | Name of member to recruit. |
|
|
|
|
**Returns:**
|
|
|
|
boolean
|
|
|
|
True if the member was successfully recruited, false otherwise.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 2 GB
|
|
|
|
Attempt to recruit a new gang member.
|
|
|
|
Possible reasons for failure: \* Cannot currently recruit a new member \* There already exists a member with the specified name
|
|
|