mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-25 17:13:47 +01:00
33 lines
998 B
Markdown
33 lines
998 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getOwnedAugmentations](./bitburner.singularity.getownedaugmentations.md)
|
|
|
|
## Singularity.getOwnedAugmentations() method
|
|
|
|
Get a list of owned augmentation.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getOwnedAugmentations(purchased?: boolean): string[];
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| purchased | boolean | _(Optional)_ Specifies whether the returned array should include Augmentations you have purchased but not yet installed. By default, this argument is false which means that the return value will NOT have the purchased Augmentations. |
|
|
|
|
**Returns:**
|
|
|
|
string\[\]
|
|
|
|
Array containing the names (as strings) of all Augmentations you have.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 5 GB \* 16/4/1
|
|
|
|
This function returns an array containing the names (as strings) of all Augmentations you have.
|
|
|