mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 10:03:48 +01:00
20 lines
566 B
ReStructuredText
20 lines
566 B
ReStructuredText
getSleevePurchasableAugs() Netscript Function
|
|
=============================================
|
|
|
|
.. js:function:: getSleevePurchasableAugs(sleeveNumber)
|
|
|
|
:RAM cost: 4 GB
|
|
|
|
: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
|
|
}
|
|
]
|