mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
949 B
949 B
Home > bitburner > Sleeve > setToGymWorkout
Sleeve.setToGymWorkout() method
If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.
Return a boolean indicating whether or not the sleeve started working out.
Signature:
setToGymWorkout(sleeveNumber: number, gymName: Gym, stat: GymStat): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
sleeveNumber | number | Index of the sleeve to workout at the gym. |
gymName | Gym | Name of the gym. |
stat | GymStat | Name of the stat to train. |
Returns:
boolean
True if the sleeve started working out, false otherwise.
Remarks
RAM cost: 4 GB