Skip to content

GymExerciseModeChangedPayload

What gymExerciseModeChanged gets: the payload a handler receives.

type GymExerciseModeChangedPayload = Readonly<{
interaction: Interaction; player: PlayerSnapshot; gymIntensity: 0 | 1 | 2;
}>;
Field Type Description
interaction Interaction The gym use.
player PlayerSnapshot The player.
gymIntensity 0 | 1 | 2 Low, medium or high.