bitburner-src/doc/source/netscript/sleeveapi/getSleevePurchasableAugs.rst

18 lines
535 B
ReStructuredText
Raw Normal View History

2019-03-23 05:22:40 +01:00
getSleevePurchasableAugs() Netscript Function
=======================================
.. js:function:: getSleevePurchasableAugs(sleeveNumber)
:param int sleeveNumber: Index of the sleeve to retrieve purchasable augmentations from. See :ref:`here <netscript_sleeveapi_referencingaduplicatesleeve>`
Return a list of augmentations that the player can buy for this sleeve.
.. code-block:: javascript
[
{
name: string, // augmentation name
cost: number, // augmentation cost
}
]