GymExerciseCompletedPayload
What gymExerciseCompleted gets: the payload a handler receives.
Definition
Section titled “Definition”type GymExerciseCompletedPayload = Readonly<{ interaction: Interaction; player: PlayerSnapshot; elapsedMs: number; gymIntensity: 0 | 1 | 2;}>;Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
interaction |
Interaction |
The gym use. |
player |
PlayerSnapshot |
The player. |
elapsedMs |
number |
How long they exercised, in milliseconds. |
gymIntensity |
0 | 1 | 2 |
The intensity at the end. |
Related
Section titled “Related”gymExerciseCompleted: the event