fixes and pr comments

This commit is contained in:
phyzical
2022-04-11 21:54:50 +08:00
parent 43248bbc42
commit a66b5bfb69
3 changed files with 11 additions and 5 deletions

View File

@@ -6663,7 +6663,7 @@ export interface WarehouseAPI {
* @param cityName - Name of the city
* @param amt - amount of upgrades defaults to 1
*/
upgradeWarehouse(divisionName: string, cityName: string, amt: number): void;
upgradeWarehouse(divisionName: string, cityName: string, amt?: number): void;
/**
* Create a new product
* @param divisionName - Name of the division
@@ -6707,7 +6707,7 @@ export interface WarehouseAPI {
* @param amt - amount of upgrades defaults to 1
* @returns cost to upgrade
*/
getUpgradeWarehouseCost(adivisionName: any, acityName: any, amt: number): number;
getUpgradeWarehouseCost(adivisionName: any, acityName: any, amt?: number): number;
/**
* Check if you have a warehouse in city
* @returns true if warehouse is present, false if not