mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
CORPORATION: Add a new API to sell a division (#1210)
Also refactoring around use of "player" variable (whether it is capitalized or not).
This commit is contained in:
8
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
8
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -8181,6 +8181,14 @@ export interface Corporation extends WarehouseAPI, OfficeAPI {
|
||||
* ```
|
||||
*/
|
||||
nextUpdate(): Promise<CorpStateName>;
|
||||
|
||||
/**
|
||||
* Sell a division
|
||||
* @remarks
|
||||
* RAM cost: 20 GB
|
||||
*
|
||||
* @param divisionName - Name of the division */
|
||||
sellDivision(divisionName: string): void;
|
||||
}
|
||||
|
||||
/** Product rating information
|
||||
|
||||
Reference in New Issue
Block a user