bitburner-src/markdown/bitburner.gang.renamemember.md
missymae#2783 8d3f2bd750
GANG: Updates to Docs, UI, API (#773)
API Changes:
Adds ns.gang.getRecruitsAvailable: Gets the number of additional gang members that can currently be recruited
Adds ns.gang.respectForNextRecruit: Gets the respect threshold for recruiting the next gang member
Adds ns.gang.renameMember: Renames a gang member

Plus many doc and ui improvements
2023-09-05 18:07:19 -04:00

34 lines
723 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Gang](./bitburner.gang.md) &gt; [renameMember](./bitburner.gang.renamemember.md)
## Gang.renameMember() method
Rename a Gang member to a new unique name.
**Signature:**
```typescript
renameMember(memberName: string, newName: string): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| memberName | string | Name of the member to change. |
| newName | string | New name for that gang member. |
**Returns:**
boolean
True if successful, and false if not.
## Remarks
RAM cost: 0 GB
Rename a Gang Member if none already has the new name.