mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 12:15:44 +01:00
34 lines
840 B
Markdown
34 lines
840 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [purchaseEquipment](./bitburner.gang.purchaseequipment.md)
|
|
|
|
## Gang.purchaseEquipment() method
|
|
|
|
Purchase an equipment for a gang member.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
purchaseEquipment(memberName: string, equipName: string): boolean;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| memberName | string | Name of Gang member to purchase the equipment for. |
|
|
| equipName | string | Name of Equipment/Augmentation to purchase. |
|
|
|
|
**Returns:**
|
|
|
|
boolean
|
|
|
|
True if the equipment was successfully purchased. False otherwise
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 4 GB
|
|
|
|
Attempt to purchase the specified Equipment/Augmentation for the specified Gang member.
|
|
|