pixi-reels

API reference

SpinResult

pixi-reels


pixi-reels / index / SpinResult

Defined in: events/ReelEvents.ts:18

Result returned when a spin completes.

Properties#

PropertyTypeDescriptionDefined in
durationnumberTotal spin duration in milliseconds.events/ReelEvents.ts:33
skipContext| SkipContext<SpeedProfile> | nullThe last press that freed reels, as its skip:requested carried it: mode, the profile a quicken named, the game’s payload. null when none did; { mode: 'slam' } when the engine slammed with no press behind it (an abort, a timeout, slamStop()).events/ReelEvents.ts:31
skipModeSkipMode | nullThe mode of the last press that freed reels, null when none did.events/ReelEvents.ts:24
symbolsstring[][]Final symbol grid [reelIndex][cellIndex].events/ReelEvents.ts:20
wasSkippedbooleanWhether a skip press freed reels this spin, in either mode, or the engine slammed it.events/ReelEvents.ts:22