mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
25 lines
680 B
Markdown
25 lines
680 B
Markdown
|
<!-- 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
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
getMaterialData(materialName: CorpMaterialName): CorpMaterialConstantData;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| materialName | [CorpMaterialName](./bitburner.corpmaterialname.md) | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
[CorpMaterialConstantData](./bitburner.corpmaterialconstantdata.md)
|
||
|
|