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:
catloversg
2024-04-16 11:19:47 +07:00
committed by GitHub
parent dd3975ab1d
commit 216500ed32
13 changed files with 111 additions and 152 deletions

View File

@@ -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