@my-swu/simulator-client / CardInteractionCue
Interface: CardInteractionCue
Defined in: packages/ts-sdk/src/generated/types/common.ts:710
Example:
ts
import type { CardInteractionCue } from '@my-swu/simulator-client'
const cardInteractionCue: CardInteractionCue = {
"seat": "one",
"kind": "handCard",
"index": 0,
"state": "hover",
}
console.log(cardInteractionCue)Properties
dragOffset?
Example:
ts
import type { CardInteractionCue } from '@my-swu/simulator-client'
const cardInteractionCue: CardInteractionCue = {
"seat": "one",
"kind": "handCard",
"index": 0,
"state": "hover",
}
const { dragOffset } = cardInteractionCue
console.log(dragOffset)
optionaldragOffset?:CardInteractionDragOffset|null
Defined in: packages/ts-sdk/src/generated/types/common.ts:711
index
Example:
ts
import type { CardInteractionCue } from '@my-swu/simulator-client'
const cardInteractionCue: CardInteractionCue = {
"seat": "one",
"kind": "handCard",
"index": 0,
"state": "hover",
}
const { index } = cardInteractionCue
console.log(index)index:
number
Defined in: packages/ts-sdk/src/generated/types/common.ts:712
kind
Example:
ts
import type { CardInteractionCue } from '@my-swu/simulator-client'
const cardInteractionCue: CardInteractionCue = {
"seat": "one",
"kind": "handCard",
"index": 0,
"state": "hover",
}
const { kind } = cardInteractionCue
console.log(kind)kind:
"handCard"
Defined in: packages/ts-sdk/src/generated/types/common.ts:713
seat
Example:
ts
import type { CardInteractionCue } from '@my-swu/simulator-client'
const cardInteractionCue: CardInteractionCue = {
"seat": "one",
"kind": "handCard",
"index": 0,
"state": "hover",
}
const { seat: cardInteractionCueSeat } = cardInteractionCue
console.log(cardInteractionCueSeat)seat:
Seat
Defined in: packages/ts-sdk/src/generated/types/common.ts:714
state
Example:
ts
import type { CardInteractionCue } from '@my-swu/simulator-client'
const cardInteractionCue: CardInteractionCue = {
"seat": "one",
"kind": "handCard",
"index": 0,
"state": "hover",
}
const { state } = cardInteractionCue
console.log(state)state:
CardInteractionCueState
Defined in: packages/ts-sdk/src/generated/types/common.ts:715
