bitburner-src/markdown/bitburner.sleeve.settogymworkout.md
Olivier Gagnon 43fc5dfd48 work on doc
2021-10-30 12:34:14 -04:00

939 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

4 GB