API: Add types for parameters of gym-university-bladeburner API (#1591)

This commit is contained in:
catloversg
2024-08-17 03:29:24 +07:00
committed by GitHub
parent 289f60d8c8
commit da8870ed79
65 changed files with 1044 additions and 468 deletions

View File

@@ -9,15 +9,19 @@ Set the level of an action.
**Signature:**
```typescript
setActionLevel(type: string, name: string, level: number): void;
setActionLevel(
type: BladeburnerActionType | `${BladeburnerActionType}`,
name: BladeburnerActionName | `${BladeburnerActionName}`,
level: number,
): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |
| type | [BladeburnerActionType](./bitburner.bladeburneractiontype.md) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- -->}\` | Type of action. |
| name | [BladeburnerActionName](./bitburner.bladeburneractionname.md) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- -->}\` | Name of action. Must be an exact match. |
| level | number | Level to set this action to. |
**Returns:**