2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md)
|
|
|
|
|
|
|
|
## Gang interface
|
|
|
|
|
|
|
|
Gang API
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
export interface Gang
|
|
|
|
```
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
If you are not in BitNode-2, then you must have Source-File 2 in order to use this API.
|
|
|
|
|
|
|
|
## Methods
|
|
|
|
|
|
|
|
| Method | Description |
|
|
|
|
| --- | --- |
|
|
|
|
| [ascendMember(memberName)](./bitburner.gang.ascendmember.md) | Ascend a gang member. |
|
|
|
|
| [canRecruitMember()](./bitburner.gang.canrecruitmember.md) | Check if you can recruit a new gang member. |
|
|
|
|
| [createGang(faction)](./bitburner.gang.creategang.md) | Create a gang. |
|
|
|
|
| [getAscensionResult(memberName)](./bitburner.gang.getascensionresult.md) | Get the result of an ascension without ascending. |
|
|
|
|
| [getBonusTime()](./bitburner.gang.getbonustime.md) | Get bonus time. |
|
|
|
|
| [getChanceToWinClash(gangName)](./bitburner.gang.getchancetowinclash.md) | Get chance to win clash with other gang. |
|
|
|
|
| [getEquipmentCost(equipName)](./bitburner.gang.getequipmentcost.md) | Get cost of equipment. |
|
|
|
|
| [getEquipmentNames()](./bitburner.gang.getequipmentnames.md) | List equipment names. |
|
|
|
|
| [getEquipmentStats(equipName)](./bitburner.gang.getequipmentstats.md) | Get stats of an equipment. |
|
|
|
|
| [getEquipmentType(equipName)](./bitburner.gang.getequipmenttype.md) | Get type of an equipment. |
|
|
|
|
| [getGangInformation()](./bitburner.gang.getganginformation.md) | Get information about your gang. |
|
2024-02-26 15:51:48 +01:00
|
|
|
| [getInstallResult(memberName)](./bitburner.gang.getinstallresult.md) | Get the effect of an install on ascension multipliers without installing. |
|
2022-10-21 17:16:00 +02:00
|
|
|
| [getMemberInformation(name)](./bitburner.gang.getmemberinformation.md) | Get information about a specific gang member. |
|
|
|
|
| [getMemberNames()](./bitburner.gang.getmembernames.md) | List all gang members. |
|
|
|
|
| [getOtherGangInformation()](./bitburner.gang.getotherganginformation.md) | Get information about the other gangs. |
|
2023-09-06 00:07:19 +02:00
|
|
|
| [getRecruitsAvailable()](./bitburner.gang.getrecruitsavailable.md) | Check how many gang members you can currently recruit. |
|
2022-10-21 17:16:00 +02:00
|
|
|
| [getTaskNames()](./bitburner.gang.gettasknames.md) | List member task names. |
|
|
|
|
| [getTaskStats(name)](./bitburner.gang.gettaskstats.md) | Get stats of a task. |
|
|
|
|
| [inGang()](./bitburner.gang.ingang.md) | Check if you're in a gang. |
|
2023-10-23 10:24:30 +02:00
|
|
|
| [nextUpdate()](./bitburner.gang.nextupdate.md) | Sleeps until the next Gang update has happened. |
|
2022-10-21 17:16:00 +02:00
|
|
|
| [purchaseEquipment(memberName, equipName)](./bitburner.gang.purchaseequipment.md) | Purchase an equipment for a gang member. |
|
|
|
|
| [recruitMember(name)](./bitburner.gang.recruitmember.md) | Recruit a new gang member. |
|
2023-09-06 00:07:19 +02:00
|
|
|
| [renameMember(memberName, newName)](./bitburner.gang.renamemember.md) | Rename a Gang member to a new unique name. |
|
|
|
|
| [respectForNextRecruit()](./bitburner.gang.respectfornextrecruit.md) | Check the amount of Respect needed for your next gang recruit. |
|
2022-10-21 17:16:00 +02:00
|
|
|
| [setMemberTask(memberName, taskName)](./bitburner.gang.setmembertask.md) | Set gang member to task. |
|
2023-10-23 10:24:30 +02:00
|
|
|
| [setTerritoryWarfare(engage)](./bitburner.gang.setterritorywarfare.md) | Enable/Disable territory clashes. |
|
2022-10-21 17:16:00 +02:00
|
|
|
|