mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
doc for sleeve api
This commit is contained in:
committed by
danielyxie
parent
f8f4299ed5
commit
b132efbded
11
doc/source/netscript/sleeveapi/commitCrime.rst
Normal file
11
doc/source/netscript/sleeveapi/commitCrime.rst
Normal 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.
|
||||
Reference in New Issue
Block a user