DOCUMENTATION: Specify param type of many Corporation APIs (#2190)

This commit is contained in:
catloversg
2025-06-21 02:06:37 +07:00
committed by GitHub
parent bebee7b1ef
commit 00e2169c92
20 changed files with 67 additions and 57 deletions

View File

@@ -9,7 +9,7 @@ Set material buy data.
**Signature:**
```typescript
buyMaterial(divisionName: string, city: CityName, materialName: string, amt: number): void;
buyMaterial(divisionName: string, city: CityName, materialName: CorpMaterialName, amt: number): void;
```
## Parameters
@@ -18,7 +18,7 @@ buyMaterial(divisionName: string, city: CityName, materialName: string, amt: num
| --- | --- | --- |
| divisionName | string | Name of the division |
| city | [CityName](./bitburner.cityname.md) | Name of the city |
| materialName | string | Name of the material |
| materialName | [CorpMaterialName](./bitburner.corpmaterialname.md) | Name of the material |
| amt | number | Amount of material to buy |
**Returns:**