mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
918 B
918 B
Home > bitburner > Sleeve > purchaseSleeveAug
Sleeve.purchaseSleeveAug() method
If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.
Return true if the aug was purchased and installed on the sleeve.
Signature:
purchaseSleeveAug(sleeveNumber: number, augName: AugmentName): boolean;
Parameters
| Parameter | Type | Description |
|---|---|---|
| sleeveNumber | number | Index of the sleeve to buy an aug for. |
| augName | AugmentName | Name of the aug to buy. Must be an exact match. |
Returns:
boolean
True if the aug was purchased and installed on the sleeve, false otherwise.
Remarks
4 GB