mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-30 01:47:33 +01:00
ae15914efa
Unfortunately, I haven't used most of the specialty APIs yet, so I'm not intimately familiar with where their documentation might be wrong. I figured some fixes were better than no fixes, and I can always make more fixes later. Fixes #1023.
14 lines
328 B
ReStructuredText
14 lines
328 B
ReStructuredText
getPurchasedServerMaxRam() Netscript Function
|
|
=============================================
|
|
|
|
.. js:function:: getPurchasedServerMaxRam()
|
|
|
|
:RAM cost: 0.05 GB
|
|
:returns: The maximum RAM that a purchased server can have.
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
getPurchasedServerMaxRam(); // returns: 1048576
|