couch-kit
Preparing search index...
@couch-kit/host
ActionRecording
Interface ActionRecording<S, A>
A complete recording of a game session.
interface
ActionRecording
<
S
extends
IGameState
=
IGameState
,
A
extends
IAction
=
IAction
,
>
{
actions
:
RecordedAction
<
A
>
[]
;
endTimestamp
?:
number
;
initialState
:
S
;
metadata
?:
Record
<
string
,
unknown
>
;
startTimestamp
:
number
;
}
Type Parameters
S
extends
IGameState
=
IGameState
A
extends
IAction
=
IAction
Index
Properties
actions
end
Timestamp?
initial
State
metadata?
start
Timestamp
Properties
actions
actions
:
RecordedAction
<
A
>
[]
Optional
end
Timestamp
endTimestamp
?:
number
initial
State
initialState
:
S
Optional
metadata
metadata
?:
Record
<
string
,
unknown
>
start
Timestamp
startTimestamp
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
actions
end
Timestamp
initial
State
metadata
start
Timestamp
couch-kit
Loading...
A complete recording of a game session.