Home > bitburner > WarehouseAPI
WarehouseAPI interface
Signature:
export interface WarehouseAPI
Methods
Method |
Description |
buyMaterial(divisionName, cityName, materialName, amt) |
|
cancelExportMaterial(sourceDivision, sourceCity, targetDivision, targetCity, materialName, amt) |
|
discontinueProduct(divisionName, productName) |
|
exportMaterial(sourceDivision, sourceCity, targetDivision, targetCity, materialName, amt) |
|
getMaterial(divisionName, cityName, materialName) |
|
getProduct(divisionName, productName) |
|
getWarehouse(divisionName, cityName) |
|
makeProduct(divisionName, cityName, productName, designInvest, marketingInvest) |
|
purchaseWarehouse(divisionName, cityName) |
|
sellMaterial(divisionName, cityName, materialName, amt, price) |
|
sellProduct(divisionName, cityName, productName, amt, price, all) |
|
setMaterialMarketTA1(divisionName, cityName, materialName, on) |
|
setMaterialMarketTA2(divisionName, cityName, materialName, on) |
|
setProductMarketTA1(divisionName, productName, on) |
|
setProductMarketTA2(divisionName, productName, on) |
|
setSmartSupply(divisionName, cityName, enabled) |
|
upgradeWarehouse(divisionName, cityName) |
|