bitburner-src/doc/source/netscript/basicfunctions/getPurchasedServers.rst

14 lines
372 B
ReStructuredText
Raw Normal View History

getPurchasedServers() Netscript Function
========================================
2021-03-12 08:51:56 +01:00
.. js:function:: getPurchasedServers()
:RAM cost: 2.25 GB
2021-03-12 08:51:56 +01:00
:returns: String array of hostnames of all of the servers you have purchased.
2021-03-12 08:51:56 +01:00
Example:
.. code-block:: javascript
getPurchasedServers(); // returns: ['grow-server-0', 'grow-server-1', 'weaken-server-0']