Talos docs

RouletteFrame

Since 0.7

What an item roulette shows at one moment: rouletteItem's answer.

Plain text

Signature

export interface RouletteFrame {
  /** The item to show now, or `null` when there are no items. */
  name: string | null
  /** Its index in `names`. */
  index: number
  /** The spin is over and `name` is the item won. */
  landed: boolean
}

Import: import type { RouletteFrame } from "@argus/gameplay"

Members

MemberSignatureDescription
namename: string | nullThe item to show now, or null when there are no items.
indexindex: numberIts index in names.
landedlanded: booleanThe spin is over and name is the item won.