mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-12 18:53:55 +01:00
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
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
|
||
|
|
||
|
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
|
||
|
|