mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 13:43:49 +01:00
24 lines
538 B
Markdown
24 lines
538 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getPurchasedServers](./bitburner.ns.getpurchasedservers.md)
|
|
|
|
## NS.getPurchasedServers() method
|
|
|
|
Returns an array with the hostnames of all of the servers you have purchased.
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
getPurchasedServers(): string[];
|
|
```
|
|
**Returns:**
|
|
|
|
string\[\]
|
|
|
|
Returns an array with the hostnames of all of the servers you have purchased.
|
|
|
|
## Remarks
|
|
|
|
2.25 GB
|
|
|