mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-24 10:12:53 +02:00
MISC: Change how enums are exposed in NetscriptDefinitions.d.ts (#1998)
This commit is contained in:
@@ -11,9 +11,9 @@ Set material export data.
|
||||
```typescript
|
||||
exportMaterial(
|
||||
sourceDivision: string,
|
||||
sourceCity: CityName | `${CityName}`,
|
||||
sourceCity: CityName,
|
||||
targetDivision: string,
|
||||
targetCity: CityName | `${CityName}`,
|
||||
targetCity: CityName,
|
||||
materialName: string,
|
||||
amt: number | string,
|
||||
): void;
|
||||
@@ -24,9 +24,9 @@ exportMaterial(
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| sourceDivision | string | Source division |
|
||||
| sourceCity | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Source city |
|
||||
| sourceCity | [CityName](./bitburner.cityname.md) | Source city |
|
||||
| targetDivision | string | Target division |
|
||||
| targetCity | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Target city |
|
||||
| targetCity | [CityName](./bitburner.cityname.md) | Target city |
|
||||
| materialName | string | Name of the material |
|
||||
| amt | number \| string | Amount of material to export. |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user