mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
DOC: ns.sleeve.setToCommitCrime(): starting index of sleeves
Document the index of the first sleeve. Sleeves are indexed starting from zero, i.e. 0. Increment by 1 to get the index of the next sleeve. And so on.
This commit is contained in:
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -3618,7 +3618,7 @@ export interface Sleeve {
|
||||
*
|
||||
* Returns false if an invalid action is specified.
|
||||
*
|
||||
* @param sleeveNumber - Index of the sleeve to start committing crime.
|
||||
* @param sleeveNumber - Index of the sleeve to start committing crime. Sleeves are numbered starting from 0.
|
||||
* @param name - Name of the crime. Must be an exact match.
|
||||
* @returns True if this action was set successfully, false otherwise.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user