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
|
|
|
|
|
2024-08-16 11:02:23 +02:00
|
|
|
Get constant data of a material.
|
2022-12-30 02:28:53 +01:00
|
|
|
|
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 |
|
|
|
|
| --- | --- | --- |
|
2024-08-16 11:02:23 +02:00
|
|
|
| materialName | [CorpMaterialName](./bitburner.corpmaterialname.md) | Name of the material |
|
2022-12-30 02:28:53 +01:00
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-12-30 02:28:53 +01:00
|
|
|
|
|
|
|
[CorpMaterialConstantData](./bitburner.corpmaterialconstantdata.md)
|
|
|
|
|
2024-08-16 11:02:23 +02:00
|
|
|
Material data
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 10 GB
|
|
|
|
|