mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-25 17:13:47 +01:00
50 lines
3.1 KiB
Markdown
50 lines
3.1 KiB
Markdown
<!-- 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
|
|
|
|
**Signature:**
|
|
|
|
```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. |
|
|
| [getInstallResult(memberName)](./bitburner.gang.getinstallresult.md) | Get the effect of an install on ascension multipliers without installing. |
|
|
| [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. |
|
|
| [getRecruitsAvailable()](./bitburner.gang.getrecruitsavailable.md) | Check how many gang members you can currently recruit. |
|
|
| [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. |
|
|
| [nextUpdate()](./bitburner.gang.nextupdate.md) | Sleeps until the next Gang update has happened. |
|
|
| [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. |
|
|
| [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. |
|
|
| [setMemberTask(memberName, taskName)](./bitburner.gang.setmembertask.md) | Set gang member to task. |
|
|
| [setTerritoryWarfare(engage)](./bitburner.gang.setterritorywarfare.md) | Enable/Disable territory clashes. |
|
|
|