mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 23:08:36 +02:00
MISC: Change how enums are exposed in NetscriptDefinitions.d.ts (#1998)
This commit is contained in:
@@ -9,15 +9,15 @@ Workout at the gym.
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
gymWorkout(gymName: GymLocationName | `${GymLocationName}`, stat: GymType | `${GymType}`, focus?: boolean): boolean;
|
||||
gymWorkout(gymName: GymLocationName, stat: GymType, focus?: boolean): boolean;
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| gymName | [GymLocationName](./bitburner.gymlocationname.md) \| \`${[GymLocationName](./bitburner.gymlocationname.md)<!-- -->}\` | Name of gym. You must be in the correct city for whatever gym you specify. |
|
||||
| stat | [GymType](./bitburner.gymtype.md) \| \`${[GymType](./bitburner.gymtype.md)<!-- -->}\` | The stat you want to train. |
|
||||
| gymName | [GymLocationName](./bitburner.gymlocationname.md) | Name of gym. You must be in the correct city for whatever gym you specify. |
|
||||
| stat | [GymType](./bitburner.gymtype.md) | The stat you want to train. |
|
||||
| focus | boolean | _(Optional)_ Acquire player focus on this gym workout. Optional. Defaults to true. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
Reference in New Issue
Block a user