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

14 lines
331 B
ReStructuredText
Raw Normal View History

getPurchasedServerMaxRam() Netscript Function
=============================================
.. js:function:: getPurchasedServerMaxRam()
:RAM cost: 0.05 GB
2021-03-12 08:51:56 +01:00
:returns: The maximum RAM that a purchased server can have.
2021-03-12 08:51:56 +01:00
Example:
.. code-block:: javascript
2023-01-06 13:43:09 +01:00
ns.getPurchasedServerMaxRam(); // returns: 1048576