bitburner-src/markdown/bitburner.warehouseapi.getmaterial.md

795 B

Home > bitburner > WarehouseAPI > getMaterial

WarehouseAPI.getMaterial() method

Get material data

Signature:

getMaterial(divisionName: string, city: CityName | `${CityName}`, materialName: string): Material;

Parameters

Parameter Type Description
divisionName string Name of the division
city CityName | `${CityName}` Name of the city
materialName string Name of the material

Returns:

Material

material data