mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 03:33:52 +01:00
1.1 KiB
1.1 KiB
Home > bitburner > Singularity > getOwnedAugmentations
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.
Signature:
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. |
Returns:
Array containing the names (as strings) of all Augmentations you have.
Remarks
5 GB Level 3