mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 08:03:48 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
33 lines
888 B
Markdown
33 lines
888 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getAugmentationPrereq](./bitburner.singularity.getaugmentationprereq.md)
|
|
|
|
## Singularity.getAugmentationPrereq() method
|
|
|
|
Get the pre-requisite of an augmentation.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
getAugmentationPrereq(augName: string): string[];
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| augName | string | Name of Augmentation. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
string\[\]
|
|
|
|
Array with the names of the prerequisite Augmentation(s) for the specified Augmentation.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 5 GB \* 16/4/1
|
|
|
|
This function returns an array with the names of the prerequisite Augmentation(s) for the specified Augmentation. If there are no prerequisites, a blank array is returned.
|
|
|