frontend
Preparing search index...
types/card
OldMaidResponse
Interface OldMaidResponse
Full Old Maid game state returned from the API.
interface
OldMaidResponse
{
cpuActions
:
CpuAction
[]
;
cpuHighlightedCardIdx
:
number
;
currentTurn
:
number
;
drawHistory
:
DrawHistoryEntry
[]
;
gameEndFlag
:
boolean
;
hasDrawn
:
boolean
;
humanAction
?:
CpuAction
|
null
;
lastDiscardedCards
?:
Card
[]
;
lastDiscardedPairs
:
number
;
lastDrawCard
:
Card
|
null
;
lastDrawFromIdx
:
number
;
lastDrawPlayerIdx
:
number
;
message
:
string
;
messageCode
?:
string
;
messageParams
?:
Record
<
string
,
string
>
;
metaAI
?:
OldMaidMetaAI
;
mode
:
number
;
nextDrawTargetIdx
:
number
;
players
:
OldMaidPlayerData
[]
;
profile
?:
OldMaidHumanProfileData
;
removedCard
:
Card
|
null
;
}
Index
Properties
cpu
Actions
cpu
Highlighted
Card
Idx
current
Turn
draw
History
game
End
Flag
has
Drawn
human
Action?
last
Discarded
Cards?
last
Discarded
Pairs
last
Draw
Card
last
Draw
From
Idx
last
Draw
Player
Idx
message
message
Code?
message
Params?
meta
AI?
mode
next
Draw
Target
Idx
players
profile?
removed
Card
Properties
cpu
Actions
cpuActions
:
CpuAction
[]
cpu
Highlighted
Card
Idx
cpuHighlightedCardIdx
:
number
current
Turn
currentTurn
:
number
draw
History
drawHistory
:
DrawHistoryEntry
[]
game
End
Flag
gameEndFlag
:
boolean
has
Drawn
hasDrawn
:
boolean
Optional
human
Action
humanAction
?:
CpuAction
|
null
Optional
last
Discarded
Cards
lastDiscardedCards
?:
Card
[]
last
Discarded
Pairs
lastDiscardedPairs
:
number
last
Draw
Card
lastDrawCard
:
Card
|
null
last
Draw
From
Idx
lastDrawFromIdx
:
number
last
Draw
Player
Idx
lastDrawPlayerIdx
:
number
message
message
:
string
Optional
message
Code
messageCode
?:
string
Optional
message
Params
messageParams
?:
Record
<
string
,
string
>
Optional
meta
AI
metaAI
?:
OldMaidMetaAI
mode
mode
:
number
next
Draw
Target
Idx
nextDrawTargetIdx
:
number
players
players
:
OldMaidPlayerData
[]
Optional
profile
profile
?:
OldMaidHumanProfileData
removed
Card
removedCard
:
Card
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
cpu
Actions
cpu
Highlighted
Card
Idx
current
Turn
draw
History
game
End
Flag
has
Drawn
human
Action
last
Discarded
Cards
last
Discarded
Pairs
last
Draw
Card
last
Draw
From
Idx
last
Draw
Player
Idx
message
message
Code
message
Params
meta
AI
mode
next
Draw
Target
Idx
players
profile
removed
Card
frontend
Loading...
Full Old Maid game state returned from the API.