generated docs

This commit is contained in:
phyzical
2022-01-17 18:24:42 +08:00
parent d50e199171
commit 6f2924dc0d
6 changed files with 279 additions and 11 deletions

View File

@@ -6385,13 +6385,13 @@ export interface Corporation extends WarehouseAPI, OfficeAPI {
* Create a Corporation
* @param divisionName - Name of the division
* @param selfFund - If you should self fund, defaults to true, false will only work on Bitnode 3
* @returns true if created and false if not
* @returns true if created and false if not
*/
createCorporation(corporationName: string, selfFund: boolean): boolean;
/**
* Check if you have a one time unlockable upgrade
* @param upgradeName - Name of the upgrade
* @returns true if unlocked and false if not
* @returns true if unlocked and false if not
*/
hasUnlockUpgrade(upgradeName: string): boolean;
/**
@@ -6569,10 +6569,10 @@ interface Product {
pCost: number;
/** Sell cost, can be "MP+5" */
sCost: string | number;
/** Data refers to the production, sale, and quantity of the products
* These values are specific to a city
/** Data refers to the production, sale, and quantity of the products
* These values are specific to a city
* For each city, the data is [qty, prod, sell] */
cityData: {[key: string]:number[]};
cityData: { [key: string]: number[] };
/** Creation progress - A number between 0-100 representing percentage */
developmentProgress: number;
}