mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
DOCUMENTATION: Specify param type of many Corporation APIs (#2190)
This commit is contained in:
@@ -9,7 +9,7 @@ Set material to bulk-buy.
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
bulkPurchase(divisionName: string, city: CityName, materialName: string, amt: number): void;
|
||||
bulkPurchase(divisionName: string, city: CityName, materialName: CorpMaterialName, amt: number): void;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
@@ -18,7 +18,7 @@ bulkPurchase(divisionName: string, city: CityName, materialName: string, amt: nu
|
||||
| --- | --- | --- |
|
||||
| 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:**
|
||||
|
||||
Reference in New Issue
Block a user