mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
35 lines
824 B
Markdown
35 lines
824 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
|
||
|
|
||
|
If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.
|
||
|
|
||
|
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
|
||
|
|
||
|
<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
|
||
|
|
||
|
2 GB
|
||
|
|