bitburner-src/doc/source/netscript/bladeburnerapi/getBlackOpRank.rst

14 lines
400 B
ReStructuredText
Raw Normal View History

2019-03-12 07:39:32 +01:00
getBlackOpRank() Netscript Function
====================================
.. js:function:: getBlackOpRank(name)
2021-03-11 22:48:00 +01:00
:RAM cost: 2 GB
2019-03-12 07:39:32 +01:00
:param string name: name of the BlackOp. Must be an exact match.
2021-03-12 08:51:56 +01:00
:returns: Rank required to complete this BlackOp. -1 for invalid BlackOp.
Example:
2019-03-12 07:39:32 +01:00
2021-03-12 08:51:56 +01:00
.. code-block:: javascript
2019-03-12 07:39:32 +01:00
2021-03-12 08:51:56 +01:00
bladeburner.getBlackOpRank("Operation Typhoon"); // returns: 2500