2022-12-30 02:28:53 +01:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Corporation](./bitburner.corporation.md) > [getMaterialData](./bitburner.corporation.getmaterialdata.md)
|
|
|
|
|
|
|
|
## Corporation.getMaterialData() method
|
|
|
|
|
|
|
|
Get constant data for a specific material
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-12-30 02:28:53 +01:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
getMaterialData(materialName: CorpMaterialName): CorpMaterialConstantData;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| materialName | [CorpMaterialName](./bitburner.corpmaterialname.md) | |
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-12-30 02:28:53 +01:00
|
|
|
|
|
|
|
[CorpMaterialConstantData](./bitburner.corpmaterialconstantdata.md)
|
|
|
|
|