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

15 lines
411 B
ReStructuredText
Raw Normal View History

getServerRequiredHackingLevel() Netscript Function
==================================================
2021-03-12 08:51:56 +01:00
.. js:function:: getServerRequiredHackingLevel(hostname)
:RAM cost: 0.1 GB
2021-03-12 08:51:56 +01:00
:param string hostname: Hostname of target server.
:returns: The required hacking level of target server.
2021-03-12 08:51:56 +01:00
Example:
.. code-block:: javascript
getServerRequiredHackingLevel("foodnstuff"); // returns: 5