2021-10-30 18:34:14 +02:00
|
|
|
<!-- 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
|
|
|
|
|
2021-12-15 18:10:32 +01:00
|
|
|
Returns an array with the hostnames of all of the servers you have purchased.
|
2021-10-30 18:34:14 +02:00
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
2021-12-15 18:10:32 +01:00
|
|
|
getPurchasedServers(): string[];
|
2021-10-30 18:34:14 +02:00
|
|
|
```
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
2021-10-30 21:46:34 +02:00
|
|
|
string\[\]
|
2021-10-30 18:34:14 +02:00
|
|
|
|
2021-12-15 18:10:32 +01:00
|
|
|
Returns an array with the hostnames of all of the servers you have purchased.
|
2021-10-30 18:34:14 +02:00
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
2.25 GB
|
|
|
|
|