mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-05 05:53:47 +01:00
24 lines
787 B
ReStructuredText
24 lines
787 B
ReStructuredText
getSleeveStats() Netscript Function
|
|
===================================
|
|
|
|
.. js:function:: getSleeveStats(sleeveNumber)
|
|
|
|
:RAM cost: 4 GB
|
|
|
|
:param int sleeveNumber: Index of the sleeve to get stats of. See :ref:`here <netscript_sleeveapi_referencingaduplicatesleeve>`
|
|
|
|
Return a structure containing the stats of the sleeve
|
|
|
|
.. code-block:: javascript
|
|
|
|
{
|
|
shock: current shock of the sleeve [0-100],
|
|
sync: current sync of the sleeve [0-100],
|
|
hacking_skill: current hacking skill of the sleeve,
|
|
strength: current strength of the sleeve,
|
|
defense: current defense of the sleeve,
|
|
dexterity: current dexterity of the sleeve,
|
|
agility: current agility of the sleeve,
|
|
charisma: current charisma of the sleeve,
|
|
}
|