mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
DOC: typo fixes in sleeves API (#467)
A bunch of typographical fixes in the documentation of the Sleeve API.
This commit is contained in:
18
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
18
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -3657,7 +3657,7 @@ export interface Sleeve {
|
|||||||
*
|
*
|
||||||
* Return the number of duplicate sleeves the player has.
|
* Return the number of duplicate sleeves the player has.
|
||||||
*
|
*
|
||||||
* @returns number of duplicate sleeves the player has.
|
* @returns Number of duplicate sleeves the player has.
|
||||||
*/
|
*/
|
||||||
getNumSleeves(): number;
|
getNumSleeves(): number;
|
||||||
|
|
||||||
@@ -3749,12 +3749,12 @@ export interface Sleeve {
|
|||||||
* @remarks
|
* @remarks
|
||||||
* RAM cost: 4 GB
|
* RAM cost: 4 GB
|
||||||
*
|
*
|
||||||
* Return a boolean indicating whether or not the sleeve started working or this faction.
|
* Return a boolean indicating whether or not the sleeve started working for a faction.
|
||||||
*
|
*
|
||||||
* @param sleeveNumber - Index of the sleeve to work for the faction.
|
* @param sleeveNumber - Index of the sleeve to work for the faction.
|
||||||
* @param factionName - Name of the faction to work for.
|
* @param factionName - Name of the faction to work for.
|
||||||
* @param factionWorkType - Name of the action to perform for this faction.
|
* @param factionWorkType - Name of the action to perform for this faction.
|
||||||
* @returns True if the sleeve started working on this faction, false otherwise, can also throw on errors
|
* @returns True if the sleeve started working for this faction, false otherwise. Can also throw on errors.
|
||||||
*/
|
*/
|
||||||
setToFactionWork(
|
setToFactionWork(
|
||||||
sleeveNumber: number,
|
sleeveNumber: number,
|
||||||
@@ -3767,11 +3767,11 @@ export interface Sleeve {
|
|||||||
* @remarks
|
* @remarks
|
||||||
* RAM cost: 4 GB
|
* RAM cost: 4 GB
|
||||||
*
|
*
|
||||||
* Return a boolean indicating whether or not the sleeve started working or this company.
|
* Return a boolean indicating whether or not the sleeve started working for a company.
|
||||||
*
|
*
|
||||||
* @param sleeveNumber - Index of the sleeve to work for the company.
|
* @param sleeveNumber - Index of the sleeve to work for the company.
|
||||||
* @param companyName - Name of the company to work for.
|
* @param companyName - Name of the company to work for.
|
||||||
* @returns True if the sleeve started working on this company, false otherwise.
|
* @returns True if the sleeve started working for this company, false otherwise.
|
||||||
*/
|
*/
|
||||||
setToCompanyWork(sleeveNumber: number, companyName: string): boolean;
|
setToCompanyWork(sleeveNumber: number, companyName: string): boolean;
|
||||||
|
|
||||||
@@ -3876,16 +3876,16 @@ export interface Sleeve {
|
|||||||
purchaseSleeveAug(sleeveNumber: number, augName: string): boolean;
|
purchaseSleeveAug(sleeveNumber: number, augName: string): boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set a sleeve to perform bladeburner actions.
|
* Set a sleeve to perform Bladeburner actions.
|
||||||
* @remarks
|
* @remarks
|
||||||
* RAM cost: 4 GB
|
* RAM cost: 4 GB
|
||||||
*
|
*
|
||||||
* Return a boolean indicating whether or not the sleeve started working out.
|
* Return a boolean indicating whether or not the sleeve started a Bladeburner action.
|
||||||
*
|
*
|
||||||
* @param sleeveNumber - Index of the sleeve to workout at the gym.
|
* @param sleeveNumber - Index of the sleeve to perform a Bladeburner action.
|
||||||
* @param action - Name of the action to be performed.
|
* @param action - Name of the action to be performed.
|
||||||
* @param contract - Name of the contract if applicable.
|
* @param contract - Name of the contract if applicable.
|
||||||
* @returns True if the sleeve started working out, false otherwise.
|
* @returns True if the sleeve started the given Bladeburner action, false otherwise.
|
||||||
*/
|
*/
|
||||||
setToBladeburnerAction(sleeveNumber: number, action: string, contract?: string): boolean;
|
setToBladeburnerAction(sleeveNumber: number, action: string, contract?: string): boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user