bitburner-src/markdown/bitburner.sleeve.md
Olivier Gagnon 2b79871c02 doc
2021-11-03 00:27:21 -04:00

2.2 KiB

Home > bitburner > Sleeve

Sleeve interface

Sleeve API

Signature:

interface Sleeve 

Remarks

If you are not in BitNode-10, then you must have Source-File 10 in order to use this API.

Methods

Method Description
getInformation(sleeveNumber) Get information about a sleeve.
getNumSleeves() Get the number of sleeves you own.
getSleeveAugmentations(sleeveNumber) Get augmentations installed on a sleeve.
getSleevePurchasableAugs(sleeveNumber) List purchasable augs for a sleeve.
getSleeveStats(sleeveNumber) Get the stats of a sleeve.
getTask(sleeveNumber) Get task of a sleeve.
purchaseSleeveAug(sleeveNumber, augName) Purchase an aug for a sleeve.
setToCommitCrime(sleeveNumber, name) Set a sleeve to commit crime.
setToCompanyWork(sleeveNumber, companyName) Set a sleeve to work for a company.
setToFactionWork(sleeveNumber, factionName, factionWorkType) Set a sleeve to work for a faction.
setToGymWorkout(sleeveNumber, gymName, stat) Set a sleeve to workout at the gym.
setToShockRecovery(sleeveNumber) Set a sleeve to shock recovery.
setToSynchronize(sleeveNumber) Set a sleeve to synchronize.
setToUniversityCourse(sleeveNumber, university, className) Set a sleeve to take a class at a university.
travel(sleeveNumber, cityName) Make a sleeve travel to another city.