mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-27 00:17:32 +01:00
35 lines
768 B
Markdown
35 lines
768 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.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
recruitMember(name: string): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| name | string | Name of member to recruit. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
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
|
|
|