Files
bitburner-src/markdown/bitburner.sleeve.md

3.8 KiB

Home > bitburner > Sleeve

Sleeve interface

Sleeve API

Signature:

export 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

getMemoryUpgradeCost(sleeveNumber, amount)

Get the cost of memory upgrades.

getNumSleeves()

Get the number of sleeves you own.

getSleeve(sleeveNumber)

Get information about a sleeve.

getSleeveAugmentationPrice(augName)

Get price of an augmentation.

getSleeveAugmentationRepReq(augName)

Get reputation requirement of an augmentation.

getSleeveAugmentations(sleeveNumber)

Get augmentations installed on a sleeve.

getSleeveCost()

Get the cost of the next sleeve.

getSleevePurchasableAugs(sleeveNumber)

List purchasable augs for a sleeve.

getTask(sleeveNumber)

Get task of a sleeve.

purchaseSleeve()

Purchase a sleeve. You must be in BitNode 10 to use this API.

purchaseSleeveAug(sleeveNumber, augName)

Purchase an aug for a sleeve.

setToBladeburnerAction(sleeveNumber, action, contract)

Set a sleeve to perform Bladeburner actions.

setToCommitCrime(sleeveNumber, crimeType)

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.

setToIdle(sleeveNumber)

Set a sleeve to idle.

setToShockRecovery(sleeveNumber)

Set a sleeve to shock recovery.

setToSynchronize(sleeveNumber)

Set a sleeve to synchronize.

setToUniversityCourse(sleeveNumber, universityName, courseName)

Set a sleeve to take a class at a university.

travel(sleeveNumber, city)

Make a sleeve travel to another city. The cost for using this function is the same as for a player.

upgradeMemory(sleeveNumber, amount)

Upgrade memory of a sleeve. You must be in BitNode 10 to use this API.