bitburner-src/markdown/bitburner.singularity.getownedaugmentations.md
Olivier Gagnon 43fc5dfd48 work on doc
2021-10-30 12:34:14 -04:00

33 lines
1.1 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Singularity](./bitburner.singularity.md) &gt; [getOwnedAugmentations](./bitburner.singularity.getownedaugmentations.md)
## Singularity.getOwnedAugmentations() method
If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.
This function returns an array containing the names (as strings) of all Augmentations you have.
<b>Signature:</b>
```typescript
getOwnedAugmentations(purchased?: boolean): AugmentName[];
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| purchased | boolean | 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. |
<b>Returns:</b>
[AugmentName](./bitburner.augmentname.md)<!-- -->\[\]
Array containing the names (as strings) of all Augmentations you have.
## Remarks
5 GB Level 3