bitburner-src/markdown/bitburner.sleeve.settogymworkout.md

35 lines
846 B
Markdown
Raw Normal View History

2021-10-30 12:34:14 -04:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Sleeve](./bitburner.sleeve.md) &gt; [setToGymWorkout](./bitburner.sleeve.settogymworkout.md)
## Sleeve.setToGymWorkout() method
2021-11-03 00:27:21 -04:00
Set a sleeve to workout at the gym.
2021-10-30 12:34:14 -04:00
<b>Signature:</b>
```typescript
2021-11-03 00:27:21 -04:00
setToGymWorkout(sleeveNumber: number, gymName: string, stat: string): boolean;
2021-10-30 12:34:14 -04:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| sleeveNumber | number | Index of the sleeve to workout at the gym. |
2021-11-03 00:27:21 -04:00
| gymName | string | Name of the gym. |
| stat | string | Name of the stat to train. |
2021-10-30 12:34:14 -04:00
<b>Returns:</b>
boolean
True if the sleeve started working out, false otherwise.
## Remarks
2021-10-30 15:46:34 -04:00
RAM cost: 4 GB
2021-10-30 12:34:14 -04:00
2021-11-03 00:27:21 -04:00
Return a boolean indicating whether or not the sleeve started working out.