SlotView
Since 0.7
One slot as the screen shows it.
Signature
export interface SlotView {
/** The slot's player number, 1 to 4. */
number: number
/** What the slot shows: nobody, seated, ready, or seated on a pad that is out. */
status: "empty" | "joined" | "ready" | "unplugged"
/** The seated player's device, or null for an empty slot. */
device: LocalPlayer["device"] | null
/** The pad's place among the seated pads (1 for the first), for "Pad 1"; null off a pad. */
padOrdinal: number | null
/** The choice the player holds, or null with no `choices`. */
choice: string | null
}
Import: import type { SlotView } from "@argus/gameplay"
Members
| Member | Signature | Description |
|---|---|---|
number | number: number | The slot's player number, 1 to 4. |
status | status: "empty" | "joined" | "ready" | "unplugged" | What the slot shows: nobody, seated, ready, or seated on a pad that is out. |
device | device: LocalPlayer["device"] | null | The seated player's device, or null for an empty slot. |
padOrdinal | padOrdinal: number | null | The pad's place among the seated pads (1 for the first), for "Pad 1"; null off a pad. |
choice | choice: string | null | The choice the player holds, or null with no choices. |