mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
14 lines
372 B
ReStructuredText
14 lines
372 B
ReStructuredText
getPurchasedServers() Netscript Function
|
|
========================================
|
|
|
|
.. js:function:: getPurchasedServers()
|
|
|
|
:RAM cost: 2.25 GB
|
|
:returns: String array of hostnames of all of the servers you have purchased.
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
getPurchasedServers(); // returns: ['grow-server-0', 'grow-server-1', 'weaken-server-0']
|