mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-19 15:54:09 +02:00
doc for sleeve api
This commit is contained in:
committed by
danielyxie
parent
f8f4299ed5
commit
b132efbded
@@ -0,0 +1,21 @@
|
||||
getStats() Netscript Function
|
||||
=======================================
|
||||
|
||||
.. js:function:: getStatus(sleeveNumber)
|
||||
|
||||
:param int sleeveNumber: index of the sleeve to get stats of.
|
||||
|
||||
Return a structure containing the stats of the sleeve
|
||||
|
||||
.. code-block:: javascript
|
||||
|
||||
{
|
||||
shock: current shock of the sleeve [0-1],
|
||||
sync: current sync of the sleeve [0-1],
|
||||
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,
|
||||
}
|
||||
Reference in New Issue
Block a user