doc for sleeve api

This commit is contained in:
Olivier Gagnon
2019-03-12 19:05:38 -04:00
committed by danielyxie
parent f8f4299ed5
commit b132efbded
16 changed files with 290 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
commitCrime() Netscript Function
=======================================
.. js:function:: commitCrime(sleeveNumber, name)
:param int sleeveNumber: index of the sleeve to start commiting crime.
:param string name: Name of the crime. Must be an exact match.
Return a boolean indicating whether or not this action was set successfully.
Returns false if an invalid action is specified.