2019-03-18 06:04:12 +01:00
|
|
|
getSleeveStats() Netscript Function
|
|
|
|
===================================
|
2019-03-13 00:05:38 +01:00
|
|
|
|
2019-03-24 03:40:35 +01:00
|
|
|
.. js:function:: getSleeveStats(sleeveNumber)
|
2019-03-13 00:05:38 +01:00
|
|
|
|
2021-03-07 10:37:56 +01:00
|
|
|
:RAM cost: 4 GB
|
|
|
|
|
2019-03-18 06:04:12 +01:00
|
|
|
:param int sleeveNumber: Index of the sleeve to get stats of. See :ref:`here <netscript_sleeveapi_referencingaduplicatesleeve>`
|
2019-03-13 00:05:38 +01:00
|
|
|
|
|
|
|
Return a structure containing the stats of the sleeve
|
2021-03-07 10:13:37 +01:00
|
|
|
|
2019-03-13 00:05:38 +01:00
|
|
|
.. code-block:: javascript
|
|
|
|
|
|
|
|
{
|
2019-03-27 09:36:14 +01:00
|
|
|
shock: current shock of the sleeve [0-100],
|
|
|
|
sync: current sync of the sleeve [0-100],
|
2019-03-13 00:05:38 +01:00
|
|
|
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,
|
|
|
|
}
|